diff options
| author | Pierlauro Sciarelli <pierlauro.sciarelli@mongodb.com> | 2023-04-24 07:29:39 +0000 |
|---|---|---|
| committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2023-08-17 08:46:01 +0000 |
| commit | 1065e8df7cf9136ef51fe63fb7e19bb656c90a8d (patch) | |
| tree | d090ddb7823f84ea3359075c0a0b0d5cbac890bd | |
| parent | d6f6546f16481afc0e8f8aedaaacbbdff40d7639 (diff) | |
SERVER-76339 Increase timeout to start/stop balancer in sharded cluster fixture
(cherry picked from commit 253140b4010c55247dbfa265ceae2e989cd66660)
| -rw-r--r-- | buildscripts/resmokelib/testing/fixtures/shardedcluster.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/buildscripts/resmokelib/testing/fixtures/shardedcluster.py b/buildscripts/resmokelib/testing/fixtures/shardedcluster.py index 6336a34ae27..193c3768448 100644 --- a/buildscripts/resmokelib/testing/fixtures/shardedcluster.py +++ b/buildscripts/resmokelib/testing/fixtures/shardedcluster.py @@ -193,7 +193,7 @@ class ShardedClusterFixture(interface.Fixture): time.sleep(0.1) # TODO SERVER-76343 remove the join_migrations parameter and the if clause depending on it. - def stop_balancer(self, timeout_ms=60000, join_migrations=True): + def stop_balancer(self, timeout_ms=300000, join_migrations=True): """Stop the balancer.""" client = interface.build_client(self, self.auth_options) client.admin.command({"balancerStop": 1}, maxTimeMS=timeout_ms) @@ -203,7 +203,7 @@ class ShardedClusterFixture(interface.Fixture): shard_client.admin.command({"_shardsvrJoinMigrations": 1}) self.logger.info("Stopped the balancer") - def start_balancer(self, timeout_ms=60000): + def start_balancer(self, timeout_ms=300000): """Start the balancer.""" client = interface.build_client(self, self.auth_options) client.admin.command({"balancerStart": 1}, maxTimeMS=timeout_ms) |
