mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
More simple
This commit is contained in:
parent
a6a44cf8b6
commit
e6e4c485bc
@ -146,7 +146,5 @@ if __name__ == "__main__":
|
||||
ch_helper.insert_events_into(db="gh-data", table="checks", events=prepared_events)
|
||||
|
||||
# Refuse other checks to run if fast test failed
|
||||
for test_result in test_results:
|
||||
status = test_result[1]
|
||||
if status != "OK":
|
||||
sys.exit(1)
|
||||
if state != 'success':
|
||||
sys.exit(1)
|
||||
|
@ -172,8 +172,5 @@ if __name__ == "__main__":
|
||||
prepared_events = prepare_tests_results_for_clickhouse(pr_info, test_results, state, stopwatch.duration_seconds, stopwatch.start_time_str, report_url, check_name)
|
||||
ch_helper.insert_events_into(db="gh-data", table="checks", events=prepared_events)
|
||||
|
||||
# If some tests failed set red status to check
|
||||
for test_result in test_results:
|
||||
status = test_result[1]
|
||||
if status != "OK":
|
||||
sys.exit(1)
|
||||
if state != 'success':
|
||||
sys.exit(1)
|
||||
|
Loading…
Reference in New Issue
Block a user