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-03 15:37:46 +0200 |
commit | b1acb9c247f09b6c6e29442c4d8e067d6e4a3c10 (patch) | |
tree | c01b236c89690b81e808673e4b701cba4392b0a6 /functest_kubernetes/ims/ims.py | |
parent | d56ecab65904d9a190f378262ad9bff48358a40e (diff) |
Improve Ims coding
Change-Id: Id8b042fd38399f0cf1868f67b5a3f4f1b4f2ef0d
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit dbe25c73b976a8a3d9b5c10dc92b8c9a17c68baa)
Diffstat (limited to 'functest_kubernetes/ims/ims.py')
-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 |