Skip to content

Commit 95b5433

Browse files
committed
Fix test modification code
1 parent e11931d commit 95b5433

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

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

+7-8
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,12 @@ public static void applyCustomizations(final TestDef def) {
6666
// client-side-operation-timeout (CSOT)
6767

6868
def.skipNoncompliantReactive("No good way to fulfill tryNext() requirement with a Publisher<T>")
69-
.test("client-side-operation-timeout", "timeoutMS behaves correctly for tailable awaitData cursors");
70-
71-
def.skipNoncompliantReactive("No good way to fulfill tryNext() requirement with a Publisher<T>")
72-
.test("client-side-operation-timeout", "apply remaining timeoutMS if less than maxAwaitTimeMS");
69+
.test("client-side-operations-timeout", "timeoutMS behaves correctly for tailable awaitData cursors",
70+
"apply remaining timeoutMS if less than maxAwaitTimeMS");
7371

7472
def.skipJira("https://jira.mongodb.org/browse/JAVA-5839")
75-
.test("client-side-operation-timeout", "timeoutMS applied to entire download, not individual parts");
73+
.test("client-side-operations-timeout", "timeoutMS behaves correctly for GridFS download operations",
74+
"timeoutMS applied to entire download, not individual parts");
7675

7776
// TODO-JAVA-5712
7877

@@ -94,7 +93,7 @@ public static void applyCustomizations(final TestDef def) {
9493
.file("command-logging-and-monitoring", "pre-42-server-connection-id");
9594

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

10099
// connection-monitoring-and-pooling
@@ -164,6 +163,7 @@ public static void applyCustomizations(final TestDef def) {
164163
def.skipNoncompliant("https://jira.mongodb.org/browse/JAVA-5838")
165164
.when(() -> def.isReactive() && UnifiedTest.Language.KOTLIN.equals(def.getLanguage()))
166165
.file("crud", "findOne");
166+
167167
// gridfs
168168

169169
def.skipDeprecated("contentType is deprecated in GridFS spec, and 4.x Java driver no longer supports it")
@@ -177,7 +177,6 @@ public static void applyCustomizations(final TestDef def) {
177177
.file("gridfs", "gridfs-renameByName");
178178

179179

180-
181180
// retryable-reads
182181

183182
def.modify(WAIT_FOR_BATCH_CURSOR_CREATION, IGNORE_EXTRA_EVENTS)
@@ -281,7 +280,7 @@ public static void applyCustomizations(final TestDef def) {
281280
.test("unified-test-format/tests/valid-pass", "poc-retryable-writes", "InsertOne fails after multiple retryable writeConcernErrors");
282281

283282
def.skipNoncompliant("The driver doesn't reduce the batchSize for the getMore")
284-
.test("unified-test-format/tests/valid-pass",
283+
.test("unified-test-format/tests/valid-pass", "poc-command-monitoring",
285284
"A successful find event with a getmore and the server kills the cursor (<= 4.4)");
286285

287286
def.skipJira("https://jira.mongodb.org/browse/JAVA-5389")

0 commit comments

Comments
 (0)