Skip to content

Commit af8abc7

Browse files
committed
Removed error code assertion that only passes on 2.6.
1 parent 50353fc commit af8abc7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/test/com/mongodb/DBCollectionTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,6 @@ public void testWriteConcernExceptionOnInsert() throws UnknownHostException {
653653
} catch (WriteConcernException e) {
654654
assertNotNull(e.getServerAddress());
655655
assertNotNull(e.getErrorMessage());
656-
assertEquals(64, e.getCode());
657656
assertNotNull(e.getCommandResult().get("err"));
658657
assertEquals(0, e.getCommandResult().get("n"));
659658
} finally {

0 commit comments

Comments
 (0)