mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Add retries to test
This commit is contained in:
parent
8a19f6d322
commit
88657cfbe1
@ -180,7 +180,14 @@ def main():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
try:
|
||||
main()
|
||||
except:
|
||||
exception_text = ''
|
||||
for i in range(1, 5):
|
||||
try:
|
||||
main()
|
||||
break
|
||||
except Exception as ex:
|
||||
exception_text = str(ex)
|
||||
|
||||
if exception_text:
|
||||
print("Exception: {}".format(exception_text), file=sys.stderr)
|
||||
os._exit(1)
|
||||
|
Loading…
Reference in New Issue
Block a user