summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiyuan Zhou <siyuan.zhou@mongodb.com>2015-11-13 15:20:15 -0500
committerSiyuan Zhou <siyuan.zhou@mongodb.com>2015-11-13 15:37:36 -0500
commit937dabedda252089650eb1e0353c134acda4ed91 (patch)
tree111f604272e4d2995fd8d6d99b52036d96173d99
parent823af47a95317a13347054d7c3fbc9fef5450de9 (diff)
downloadmongo-937dabedda252089650eb1e0353c134acda4ed91.tar.gz
SERVER-21457 Disable two_nodes_priority_take_over.js
-rw-r--r--jstests/replsets/two_nodes_priority_take_over.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/jstests/replsets/two_nodes_priority_take_over.js b/jstests/replsets/two_nodes_priority_take_over.js
index ded1bdfa760..227d3ee791f 100644
--- a/jstests/replsets/two_nodes_priority_take_over.js
+++ b/jstests/replsets/two_nodes_priority_take_over.js
@@ -2,6 +2,10 @@
// because of stepping down. In a two node replset, this rejection will prevent
// smooth priority takeover.
+// TODO: We have to disable this test until SERVER-21456 is fixed, due to the
+// race of tagging and closing connections on stepdown.
+if (false) {
+
load("jstests/replsets/rslib.js");
(function() {
@@ -56,3 +60,5 @@ if (rst.getConfigFromPrimary().protocolVersion == 1) {
assert.eq(newTerm, stableTerm + 1);
}
})();
+
+}