diff options
author | Mathias Stearn <mathias@10gen.com> | 2014-03-28 15:19:20 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2014-03-30 12:40:11 -0400 |
commit | 192fd947da5ba99e4a06c769670b08cc9820f955 (patch) | |
tree | 37064c561c0ca074e126f7703b362741d79e7431 | |
parent | 00c8264c88edbbda91c375063c2c612b1db18702 (diff) | |
download | mongo-192fd947da5ba99e4a06c769670b08cc9820f955.tar.gz |
Increase oplog size for test
-rw-r--r-- | jstests/replsets/index_restart_secondary.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/jstests/replsets/index_restart_secondary.js b/jstests/replsets/index_restart_secondary.js index 92b43d2bfd5..15205fa2e50 100644 --- a/jstests/replsets/index_restart_secondary.js +++ b/jstests/replsets/index_restart_secondary.js @@ -4,7 +4,12 @@ * index build restarts after secondary restarts */ -var replTest = new ReplSetTest({ name: 'fgIndex', nodes: 3 }); +var replTest = new ReplSetTest({ + name: 'fgIndex', + nodes: 3, + oplogSize: 100, // This test inserts enough data to wrap the default 40MB oplog. +}); + var nodes = replTest.nodeList(); // We need an arbiter to ensure that the primary doesn't step down when we restart the secondary |