diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2016-02-05 17:30:25 -0500 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2016-02-08 17:53:59 -0500 |
commit | 9145945c9311f6070b97ee9b8443ef6ec35274d4 (patch) | |
tree | 9314f2c4d0b2e3b953060c65f64a587236bfa741 | |
parent | 6935119d85848bde5b189c2c0ccf49b1ce10f0ed (diff) | |
download | mongo-9145945c9311f6070b97ee9b8443ef6ec35274d4.tar.gz |
SERVER-22501 Wait until all nodes catch up before test in priority_takeover_cascading_priorities.js
-rw-r--r-- | jstests/replsets/priority_takeover_cascading_priorities.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/jstests/replsets/priority_takeover_cascading_priorities.js b/jstests/replsets/priority_takeover_cascading_priorities.js index b17cf0de073..f2dc98490f4 100644 --- a/jstests/replsets/priority_takeover_cascading_priorities.js +++ b/jstests/replsets/priority_takeover_cascading_priorities.js @@ -32,6 +32,8 @@ }; waitForPrimary(0); + // Wait until all nodes get the "no-op" of "new primary" after initial sync. + waitUntilAllNodesCaughtUp(replSet.nodes); replSet.stop(0); waitForPrimary(1); |