Skip to content

Commit 4d8377d

Browse files
committed
Updates to UnifiedTestModifications
1 parent a7e8355 commit 4d8377d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

driver-sync/src/test/functional/com/mongodb/client/ClientSideOperationTimeoutTest.java

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
import java.util.Collection;
2424

2525
import static org.junit.jupiter.api.Assumptions.assumeFalse;
26+
import static org.junit.jupiter.api.Assumptions.assumeTrue;
2627

2728

2829
// See https://github.com/mongodb/specifications/tree/master/source/client-side-operation-timeout/tests

driver-sync/src/test/functional/com/mongodb/client/unified/UnifiedTestModifications.java

+10-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public static void applyCustomizations(final TestDef def) {
7171
def.skipNoncompliantReactive("No good way to fulfill tryNext() requirement with a Publisher<T>")
7272
.test("client-side-operation-timeout", "apply remaining timeoutMS if less than maxAwaitTimeMS");
7373

74-
def.retry("timeoutMS is very short")
74+
def.skipJira("https://jira.mongodb.org/browse/JAVA-5839")
7575
.test("client-side-operation-timeout", "timeoutMS applied to entire download, not individual parts");
7676

7777
// TODO-JAVA-5712
@@ -93,6 +93,10 @@ public static void applyCustomizations(final TestDef def) {
9393
+ "response doesn't contain it.")
9494
.file("command-logging-and-monitoring", "pre-42-server-connection-id");
9595

96+
def.skipNoncompliant("The driver doesn't reduce the batchSize for the getMore")
97+
.test("command-logging-and-monitoring",
98+
"A successful find event with a getmore and the server kills the cursor (<= 4.4)");
99+
96100
// connection-monitoring-and-pooling
97101

98102
// TODO-JAVA-5711 reason, jira
@@ -271,6 +275,11 @@ public static void applyCustomizations(final TestDef def) {
271275
+ "server versions.")
272276
.when(() -> serverVersionLessThan(4, 4))
273277
.test("unified-test-format/tests/valid-pass", "poc-retryable-writes", "InsertOne fails after multiple retryable writeConcernErrors");
278+
279+
def.skipNoncompliant("The driver doesn't reduce the batchSize for the getMore")
280+
.test("unified-test-format/tests/valid-pass",
281+
"A successful find event with a getmore and the server kills the cursor (<= 4.4)");
282+
274283
def.skipJira("https://jira.mongodb.org/browse/JAVA-5389")
275284
.file("unified-test-format/tests/valid-pass", "expectedEventsForClient-topologyDescriptionChangedEvent");
276285
def.skipJira("https://jira.mongodb.org/browse/JAVA-4862")

0 commit comments

Comments
 (0)