File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public void testLastErrorWithConcern()
5656 _db .resetError ();
5757 CommandResult cr = _db .getLastError (WriteConcern .FSYNC_SAFE );
5858 assert (cr .get ("err" ) == null );
59- assert (cr .containsField ("fsyncFiles" ));
59+ assert (cr .containsField ("fsyncFiles" ) || cr . containsField ( "waited" ) );
6060 }
6161
6262 @ Test
Original file line number Diff line number Diff line change @@ -610,7 +610,7 @@ public void testWriteResultWithGetLastErrorWithDifferentConcerns(){
610610
611611 CommandResult cr = res .getLastError ( WriteConcern .FSYNC_SAFE );
612612 assertEquals ( 1 , cr .getInt ( "n" ) );
613- assertTrue ( cr .containsField ( "fsyncFiles" ));
613+ assertTrue ( cr .containsField ( "fsyncFiles" ) || cr . containsField ( "waited" ) );
614614
615615 CommandResult cr2 = res .getLastError ( WriteConcern .FSYNC_SAFE );
616616 assertTrue ( cr == cr2 );
You can’t perform that action at this time.
0 commit comments