summaryrefslogtreecommitdiffstats
path: root/testcases
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-02-02 11:32:52 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2016-02-02 10:43:57 +0000
commit9ce9bd0447436533e9adce5dc07fc0f204c20307 (patch)
tree0f854b093d1f62fc3f26c454ea625424f075e814 /testcases
parent150fd7788251a16bd56d4e88407dc136d5babded (diff)
Remove error message if instance is not found
Reason: vping calls this function until the VMs are deleted, when that happens, it throws an exception and returns None, which is fine, but the message error on the output is a bit confusing if you don't know the context. Change-Id: I8a4c408197d3c83151fb15a12387575d9fe1d553 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com> (cherry picked from commit 7dd58acc208727aaed83807f065dedcc899b0137)
Diffstat (limited to 'testcases')
-rw-r--r--testcases/functest_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testcases/functest_utils.py b/testcases/functest_utils.py
index da79c2c9a..debdc38f4 100644
--- a/testcases/functest_utils.py
+++ b/testcases/functest_utils.py
@@ -88,8 +88,8 @@ def get_instance_status(nova_client, instance):
instance = nova_client.servers.get(instance.id)
return instance.status
except Exception, e:
- print "Error [get_instance_status(nova_client, '%s')]:" % \
- str(instance), e
+ #print "Error [get_instance_status(nova_client, '%s')]:" % \
+ # str(instance), e
return None