aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils/openstack_clean.py
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-06-07 01:55:41 +0000
committerJose Lausuch <jose.lausuch@ericsson.com>2017-06-07 12:19:11 +0000
commitdc7f851b0c5412709b52396b0855c0572c904525 (patch)
treeea654afd054608a8b47c135d65f9fc879f19e9f2 /functest/utils/openstack_clean.py
parent6c6b03b310cf60b251a52127901431f7d059e45f (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_clean.py')
-rwxr-xr-xfunctest/utils/openstack_clean.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/utils/openstack_clean.py b/functest/utils/openstack_clean.py
index cdd91852..0ce08798 100755
--- a/functest/utils/openstack_clean.py
+++ b/functest/utils/openstack_clean.py
@@ -425,6 +425,7 @@ def main():
separator()
remove_tenants(keystone_client, default_tenants)
separator()
+ return 0
if __name__ == '__main__':