diff options
author | dwight <dwight@10gen.com> | 2011-07-19 10:46:48 -0400 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2011-07-19 10:46:48 -0400 |
commit | d5b424de15da09f13ddfb8e1c10cd39a06bf5907 (patch) | |
tree | e32de702ada6cabfa5ddd12bd39bc4e5b31e6ec6 /jstests/replsets/stepdown.js | |
parent | fe780890af176df004060960e668c633af5d2a21 (diff) | |
download | mongo-d5b424de15da09f13ddfb8e1c10cd39a06bf5907.tar.gz |
comment
Diffstat (limited to 'jstests/replsets/stepdown.js')
-rw-r--r-- | jstests/replsets/stepdown.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/jstests/replsets/stepdown.js b/jstests/replsets/stepdown.js index d6db89a1997..c9c76a4236b 100644 --- a/jstests/replsets/stepdown.js +++ b/jstests/replsets/stepdown.js @@ -1,4 +1,7 @@ - +/* check that on a loss of primary, another node doesn't assume primary if it is stale + we force a stepDown to test this + we use lock+fsync to force secondary to be stale +*/ var replTest = new ReplSetTest({ name: 'testSet', nodes: 2 }); var nodes = replTest.startSet(); |