summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jstests/replsets/no_flapping_during_network_partition.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/replsets/no_flapping_during_network_partition.js b/jstests/replsets/no_flapping_during_network_partition.js
index 5a289b2afdd..9c70febfc89 100644
--- a/jstests/replsets/no_flapping_during_network_partition.js
+++ b/jstests/replsets/no_flapping_during_network_partition.js
@@ -40,6 +40,7 @@
jsTestLog("Wait long enough for the secondary to call for an election.");
checkLog.contains(secondary, "can see a healthy primary of equal or greater priority");
+ checkLog.contains(secondary, "not running for primary");
jsTestLog("Verify the primary and secondary do not change during the partition.");
assert.eq(primary, replTest.getPrimary());