From deaa347b953e56ffd4a065e0036e583368b42da6 Mon Sep 17 00:00:00 2001 From: Bernardo Dal Seno <bdalseno@google.com> Date: Sat, 26 Jan 2013 03:38:10 +0100 Subject: [PATCH] QA fix: TestInstanceExportWithRemove() updates configuration When the instance is removed from the cluster by this test, it's also freed in the QA configuration. Signed-off-by: Bernardo Dal Seno <bdalseno@google.com> Reviewed-by: Michael Hanselmann <hansmi@google.com> --- qa/qa_instance.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qa/qa_instance.py b/qa/qa_instance.py index b604d979c..c01fb0571 100644 --- a/qa/qa_instance.py +++ b/qa/qa_instance.py @@ -1,7 +1,7 @@ # # -# Copyright (C) 2007, 2011, 2012 Google Inc. +# Copyright (C) 2007, 2011, 2012, 2013 Google Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -620,6 +620,7 @@ def TestInstanceExportWithRemove(instance, node): """gnt-backup export --remove-instance""" AssertCommand(["gnt-backup", "export", "-n", node["primary"], "--remove-instance", instance["name"]]) + qa_config.ReleaseInstance(instance) @InstanceCheck(INST_UP, INST_UP, FIRST_ARG) -- GitLab