diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-06-07 01:55:41 +0000 |
---|---|---|
committer | Jose Lausuch <jose.lausuch@ericsson.com> | 2017-06-07 12:19:11 +0000 |
commit | dc7f851b0c5412709b52396b0855c0572c904525 (patch) | |
tree | ea654afd054608a8b47c135d65f9fc879f19e9f2 /functest/utils/openstack_snapshot.py | |
parent | 6c6b03b310cf60b251a52127901431f7d059e45f (diff) |
Bugfix: fix the return value
openstack_snapshot and openstack_clean should return 0 when they are run
successfully.
JIRA: FUNCTEST-835
Change-Id: I3fcc24ab985de382e0e59b129cb467d66a9a0de2
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest/utils/openstack_snapshot.py')
-rwxr-xr-x | functest/utils/openstack_snapshot.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/utils/openstack_snapshot.py b/functest/utils/openstack_snapshot.py index 8f1d3b9b..233c316a 100755 --- a/functest/utils/openstack_snapshot.py +++ b/functest/utils/openstack_snapshot.py @@ -160,6 +160,7 @@ def main(): % yaml_file.read()) logger.debug("NOTE: These objects will NOT be deleted after " + "running the test.") + return 0 if __name__ == '__main__': |