Skip to content

Commit 51d0a7d

Browse files
committed
Call enableSleepAfterCursorOpen for all reactive change streams tests
JAVA-4470
1 parent c6a2585 commit 51d0a7d

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

driver-reactive-streams/src/test/functional/com/mongodb/reactivestreams/client/unified/ChangeStreamsTest.java

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,6 @@ public final class ChangeStreamsTest extends UnifiedReactiveStreamsTest {
4646
"Test that comment is not set on getMore - pre 4.4"
4747
);
4848

49-
private static final List<String> CURSOR_OPEN_TIMING_SENSITIVE_TESTS =
50-
Arrays.asList(
51-
"Test with document comment",
52-
"Test with document comment - pre 4.4",
53-
"Test with string comment",
54-
"Test that comment is set on getMore"
55-
);
56-
5749
public ChangeStreamsTest(@SuppressWarnings("unused") final String fileDescription,
5850
@SuppressWarnings("unused") final String testDescription,
5951
final String schemaVersion, @Nullable final BsonArray runOnRequirements, final BsonArray entities,
@@ -63,9 +55,7 @@ public ChangeStreamsTest(@SuppressWarnings("unused") final String fileDescriptio
6355
assumeFalse(ERROR_REQUIRED_FROM_CHANGE_STREAM_INITIALIZATION_TESTS.contains(testDescription));
6456
assumeFalse(EVENT_SENSITIVE_TESTS.contains(testDescription));
6557

66-
if (CURSOR_OPEN_TIMING_SENSITIVE_TESTS.contains(testDescription)) {
67-
enableSleepAfterCursorOpen(256);
68-
}
58+
enableSleepAfterCursorOpen(256);
6959
}
7060

7161
@After

0 commit comments

Comments
 (0)