Skip to content

Commit

Permalink
fix sharding test SERVER-3923
Browse files Browse the repository at this point in the history
  • Loading branch information
kchodorow committed Sep 22, 2011
1 parent 295dd22 commit 84816a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jstests/sharding/bigMapReduce.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ for ( iter=0; iter<5; iter++ ){
gotAGoodOne = true
}
catch ( e ){
if ( __mrerror__ && __mrerror__.cause && __mrerror__.cause.assertionCode == 13388 ){
if ( __mrerror__ && __mrerror__.cause && __mrerror__.cause.code == 13388 ){
// TODO: SERVER-2396
sleep( 1000 );
continue;
Expand All @@ -48,7 +48,7 @@ for (iter = 0; iter < 5; iter++) {
gotAGoodOne = true;
}
catch ( e ){
if ( __mrerror__ && __mrerror__.cause && __mrerror__.cause.assertionCode == 13388 ){
if ( __mrerror__ && __mrerror__.cause && __mrerror__.cause.code == 13388 ){
// TODO: SERVER-2396
sleep( 1000 );
continue;
Expand Down

0 comments on commit 84816a6

Please sign in to comment.