diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-04-04 18:35:16 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2020-07-04 10:20:54 +0200 |
commit | 8c3ab5727fcfe712909d7c8463fdcbdf57392fe7 (patch) | |
tree | 29e424bd8139e4495ab0283579f299fc6427b9f2 | |
parent | aa422313517b5a6d81fd544fa71853e378699256 (diff) |
Improve Ims coding
Change-Id: Id8b042fd38399f0cf1868f67b5a3f4f1b4f2ef0d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit dbe25c73b976a8a3d9b5c10dc92b8c9a17c68baa)
(cherry picked from commit b1acb9c247f09b6c6e29442c4d8e067d6e4a3c10)
-rw-r--r-- | functest_kubernetes/ims/ims.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functest_kubernetes/ims/ims.py b/functest_kubernetes/ims/ims.py index 9a37a021..93312575 100644 --- a/functest_kubernetes/ims/ims.py +++ b/functest_kubernetes/ims/ims.py @@ -97,7 +97,7 @@ class Vims(testcase.TestCase): "%s started in %0.2f sec", event['object'].metadata.name, time.time()-self.start_time) - if len(status) == 0: + if not status: watch_deployment.stop() self.result = 1/2 * 100 |