summaryrefslogtreecommitdiff
path: root/jstests/replsets/no_chaining.js
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2014-01-29 17:12:35 -0500
committerMark Benvenuto <mark.benvenuto@mongodb.com>2014-01-29 17:15:54 -0500
commit39032c059a318f1c9e0f917ba4af051cd1c2420f (patch)
tree561df7d5bffca0febeef954be74d8f76239fb181 /jstests/replsets/no_chaining.js
parentdab7af2409c775a69489fe09f72f39c1b4f445aa (diff)
downloadmongo-39032c059a318f1c9e0f917ba4af051cd1c2420f.tar.gz
SERVER-4966: Renable tests for Windows
Diffstat (limited to 'jstests/replsets/no_chaining.js')
-rw-r--r--jstests/replsets/no_chaining.js18
1 files changed, 8 insertions, 10 deletions
diff --git a/jstests/replsets/no_chaining.js b/jstests/replsets/no_chaining.js
index 6fc556a518c..8b07e927904 100644
--- a/jstests/replsets/no_chaining.js
+++ b/jstests/replsets/no_chaining.js
@@ -58,16 +58,14 @@ var forceSync = function() {
);
};
-if (!_isWindows()) {
- print("break the network so that node 2 cannot replicate");
- breakNetwork();
+print("break the network so that node 2 cannot replicate");
+breakNetwork();
- print("make sure chaining is not happening");
- checkNoChaining();
+print("make sure chaining is not happening");
+checkNoChaining();
- print("check that forcing sync target still works");
- forceSync();
+print("check that forcing sync target still works");
+forceSync();
- var config = master.getDB("local").system.replset.findOne();
- assert.eq(false, config.settings.chainingAllowed, tojson(config));
-}
+var config = master.getDB("local").system.replset.findOne();
+assert.eq(false, config.settings.chainingAllowed, tojson(config));