Skip to content

Commit ebaff4c

Browse files
committed
Ignoring query comment test for sharded clusters
1 parent 0c392ba commit ebaff4c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

driver/src/test/unit/com/mongodb/DBCursorTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,8 @@ private void countResults(final DBCursor cursor, final int expected) {
333333

334334
@Test
335335
public void testSettingACommentInsertsCommentIntoProfileCollectionWhenProfilingIsTurnedOn() {
336+
assumeFalse(isSharded());
337+
336338
// given
337339
database.command(new BasicDBObject("profile", 2));
338340
String expectedComment = "test comment";

0 commit comments

Comments
 (0)