Skip to content

Commit

Permalink
Allow members a long time to come online during tests for slow buildbots
Browse files Browse the repository at this point in the history
  • Loading branch information
kchodorow committed Feb 6, 2012
1 parent a950ba5 commit b1d820c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mongo/shell/servers.js
Expand Up @@ -2082,7 +2082,7 @@ ReplSetTest.prototype.reInitiate = function() {

ReplSetTest.prototype.getLastOpTimeWritten = function() {
this.getMaster();
jsTest.attempt({context : this, desc : "awaiting oplog query"},
jsTest.attempt({context : this, desc : "awaiting oplog query", timeout: 30000},
function() {
try {
this.latest = this.liveNodes.master.getDB("local")['oplog.rs'].find({}).sort({'$natural': -1}).limit(1).next()['ts'];
Expand Down

0 comments on commit b1d820c

Please sign in to comment.