diff options
author | Tausif Rahman <tausif.rahman@mongodb.com> | 2022-08-22 21:09:09 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-08-22 22:47:18 +0000 |
commit | 3008f1e4d78dcc72d522b445450fda19e8fb5991 (patch) | |
tree | c365b9e01dff70118903f437846eeb17cac41ebd /buildscripts/antithesis | |
parent | aee98e08bc61c76abdf21fc9e8e1b508fab87251 (diff) | |
download | mongo-3008f1e4d78dcc72d522b445450fda19e8fb5991.tar.gz |
SERVER-68659 Fix Antithesis failures
Diffstat (limited to 'buildscripts/antithesis')
-rw-r--r-- | buildscripts/antithesis/topologies/sharded_cluster/scripts/mongos_init.py | 3 | ||||
-rw-r--r-- | buildscripts/antithesis/topologies/sharded_cluster/scripts/workload_init.py | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/buildscripts/antithesis/topologies/sharded_cluster/scripts/mongos_init.py b/buildscripts/antithesis/topologies/sharded_cluster/scripts/mongos_init.py index 0d3aa7cfc8d..2327989cfb3 100644 --- a/buildscripts/antithesis/topologies/sharded_cluster/scripts/mongos_init.py +++ b/buildscripts/antithesis/topologies/sharded_cluster/scripts/mongos_init.py @@ -1,6 +1,7 @@ """Script to configure a sharded cluster in Antithesis from the mongos container.""" import json import subprocess +from time import sleep from utils import mongo_process_running, retry_until_success CONFIGSVR_CONFIG = { @@ -155,4 +156,4 @@ retry_until_success( }) while True: - continue + sleep(10) diff --git a/buildscripts/antithesis/topologies/sharded_cluster/scripts/workload_init.py b/buildscripts/antithesis/topologies/sharded_cluster/scripts/workload_init.py index 3784825ba54..971cedea74a 100644 --- a/buildscripts/antithesis/topologies/sharded_cluster/scripts/workload_init.py +++ b/buildscripts/antithesis/topologies/sharded_cluster/scripts/workload_init.py @@ -1,3 +1,5 @@ """Script to initialize a workload container in Antithesis.""" +from time import sleep + while True: - continue + sleep(10) |