Commit ba7a3d65 authored by Benjamin Blanc's avatar Benjamin Blanc

testnode: Fix statement in unit test case (runner.runTestSuite)

parent d1aae9ad
...@@ -383,11 +383,14 @@ from the distributor.") ...@@ -383,11 +383,14 @@ from the distributor.")
# as partitions can be of any kind we have and likely will never have # as partitions can be of any kind we have and likely will never have
# a reliable way to check if they are up or not ... # a reliable way to check if they are up or not ...
#time.sleep(20) #time.sleep(20)
if status_dict['status_code'] == 0: if my_test_type == 'UnitTest':
runner.runTestSuite(node_test_suite, portal_url) runner.runTestSuite(node_test_suite, portal_url)
else: else:
#TODO: do a fail on test result if status_dict['status_code'] == 0:
pass runner.runTestSuite(node_test_suite, portal_url)
else:
#TODO: do a fail on test result
pass
# break the loop to get latest priorities from master # break the loop to get latest priorities from master
break break
self.cleanUp(test_result) self.cleanUp(test_result)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment