Skip to content
Snippets Groups Projects
Commit 8abc36f1 authored by René Nussbaumer's avatar René Nussbaumer
Browse files

QA: Remove 'oob_program=default' on gnt-cluster modify


On cluster level there's no 'default' because it's the highest cascading
level. Due to this 'default' is a valid value and doesn't mean to remove
the value from the dict like it does on the other levels. To overcome
this we just empty the string.

Signed-off-by: default avatarRené Nussbaumer <rn@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 24d16f76
No related merge requests found
...@@ -346,7 +346,7 @@ def TestOutOfBand(): ...@@ -346,7 +346,7 @@ def TestOutOfBand():
AssertCommand(["rm", "-f", oob_path2, verify_path2]) AssertCommand(["rm", "-f", oob_path2, verify_path2])
finally: finally:
AssertCommand(["gnt-cluster", "modify", "--node-parameters", AssertCommand(["gnt-cluster", "modify", "--node-parameters",
"oob_program=default"]) "oob_program="])
AssertCommand(["rm", "-f", oob_path, verify_path, data_path, AssertCommand(["rm", "-f", oob_path, verify_path, data_path,
exit_code_path]) exit_code_path])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment