Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix sharding test

  • Loading branch information...
commit ffe74836e1b4de86d5a9a5d2335fafbae109bd8e 1 parent 0b6b3dd
@erh erh authored monkey101 committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  src/mongo/shell/shardingtest.js
View
3  src/mongo/shell/shardingtest.js
@@ -978,7 +978,8 @@ ShardingTest.prototype.isAnyBalanceInFlight = function() {
var allCurrent = this.s.getDB( "admin" ).currentOp().inprog;
for ( var i = 0; i < allCurrent.length; i++ ) {
- if ( allCurrent[i].name.indexOf( "cleanupOldData" ) == 0 )
+ if ( allCurrent[i].desc &&
+ allCurrent[i].desc.indexOf( "cleanupOldData" ) == 0 )
return true;
}
return false;
Please sign in to comment.
Something went wrong with that request. Please try again.