HBASE-19246 Trivial fix in findHangingTests.py to make it not stop on finding 'bad string'.
This commit is contained in:
parent
31287d8931
commit
72ba5c294e
|
@ -86,7 +86,6 @@ def get_bad_tests(console_url):
|
||||||
for bad_string in BAD_RUN_STRINGS:
|
for bad_string in BAD_RUN_STRINGS:
|
||||||
if re.match(".*" + bad_string + ".*", line):
|
if re.match(".*" + bad_string + ".*", line):
|
||||||
print "Bad string found in build:\n > {}".format(line)
|
print "Bad string found in build:\n > {}".format(line)
|
||||||
return
|
|
||||||
print "Result > total tests: {:4} failed : {:4} timedout : {:4} hanging : {:4}".format(
|
print "Result > total tests: {:4} failed : {:4} timedout : {:4} hanging : {:4}".format(
|
||||||
len(all_tests_set), len(failed_tests_set), len(timeout_tests_set), len(hanging_tests_set))
|
len(all_tests_set), len(failed_tests_set), len(timeout_tests_set), len(hanging_tests_set))
|
||||||
return [all_tests_set, failed_tests_set, timeout_tests_set, hanging_tests_set]
|
return [all_tests_set, failed_tests_set, timeout_tests_set, hanging_tests_set]
|
||||||
|
|
Loading…
Reference in New Issue