summaryrefslogtreecommitdiff
path: root/jstests/replsets/linearizable_read_concern.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/linearizable_read_concern.js')
-rw-r--r--jstests/replsets/linearizable_read_concern.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/replsets/linearizable_read_concern.js b/jstests/replsets/linearizable_read_concern.js
index 4cbef17b568..58fe4de0bcc 100644
--- a/jstests/replsets/linearizable_read_concern.js
+++ b/jstests/replsets/linearizable_read_concern.js
@@ -43,10 +43,10 @@ load('jstests/libs/write_concern_util.js');
replTest.startSet();
replTest.initiate(config);
- // We increase the awaitReplication timeout because without a sync source the heartbeat
- // interval will be half of the election timeout, 30 seconds. It thus will take almost
- // 30 seconds for the secondaries to set the primary as their sync source and begin replicating.
- replTest.awaitReplication(90 * 1000);
+ // Without a sync source the heartbeat interval will be half of the election timeout, 30
+ // seconds. It thus will take almost 30 seconds for the secondaries to set the primary as
+ // their sync source and begin replicating.
+ replTest.awaitReplication();
var primary = replTest.getPrimary();
var secondaries = replTest.getSecondaries();