Skip to content

Commit

Permalink
test fix: Windows debug builders are exceptionally slow at inserting …
Browse files Browse the repository at this point in the history
…records
  • Loading branch information
milkie committed Feb 14, 2014
1 parent 6ae6813 commit 540b41b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jstests/replsets/index_delete.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ assert.eq(2, masterDB.system.indexes.count( {ns:"fgIndexSec.jstests_fgsec"}, {ba
// Wait for the secondary to get the index entry
assert.soon( function() {
return 2 == secondDB.system.indexes.count( {ns:"fgIndexSec.jstests_fgsec"} ); },
"index not created on secondary", 120000, 50 );
"index not created on secondary", 1000*60*10, 50 );

jsTest.log("Index created and system.indexes entry exists on secondary");
masterDB.runCommand( {dropIndexes: "jstests_fgsec", index: "i_1"} );
Expand Down
2 changes: 1 addition & 1 deletion jstests/replsets/indexbg_restart_secondary.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ assert.eq(2, masterDB.system.indexes.count( {ns:"bgIndexSec.jstests_bgsec"} ) );
// Wait for the secondary to get the index entry
assert.soon( function() {
return 2 == secondDB.system.indexes.count( {ns:"bgIndexSec.jstests_bgsec"} ); },
"index not created on secondary (prior to restart)", 120000, 50 );
"index not created on secondary (prior to restart)", 1000*60*10, 50 );

// restart secondary and reconnect
jsTest.log("Restarting secondary");
Expand Down

0 comments on commit 540b41b

Please sign in to comment.