JIRA: PROMISE-77
Change-Id: Ie856d7b58f72a253abf4b446e33f3c98d06c50c1
Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
def main():
+ exit_code = -1
start_time = time.time()
ks_creds = openstack_utils.get_credentials("keystone")
nv_creds = openstack_utils.get_credentials("nova")
status = "FAIL"
if int(tests) > 32 and int(failures) < 1:
status = "PASS"
+ exit_code = 0
functest_utils.push_results_to_db("promise",
"promise",
status,
json_results)
+ exit(exit_code)
+
if __name__ == '__main__':
main()