Skip to content

Commit 851518c

Browse files
committed
Updated specifications submodule to latest
Disabled new test cases until the work is done. JAVA-5949 JAVA-5968 JAVA-6030
1 parent 69a3c1d commit 851518c

File tree

4 files changed

+26
-1
lines changed

4 files changed

+26
-1
lines changed
Submodule specifications updated 78 files

driver-core/src/test/unit/com/mongodb/AuthConnectionStringTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ public void shouldPassAllOutcomes() {
5656
assumeFalse(description.equals("should accept forwardAndReverse hostname canonicalization (GSSAPI)"));
5757
assumeFalse(description.equals("should accept generic mechanism property (GSSAPI)"));
5858
assumeFalse(description.equals("should accept no hostname canonicalization (GSSAPI)"));
59+
assumeFalse("https://jira.mongodb.org/browse/JAVA-6030",
60+
description.equals("should throw an exception if AWS_SESSION_TOKEN provided (MONGODB-AWS)"));
61+
assumeFalse("https://jira.mongodb.org/browse/JAVA-6030",
62+
description.equals("should throw an exception if username and password provided (MONGODB-AWS)"));
5963

6064
if (definition.getBoolean("valid").getValue()) {
6165
testValidUris();

driver-core/src/test/unit/com/mongodb/internal/connection/ServerDiscoveryAndMonitoringTest.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ public class ServerDiscoveryAndMonitoringTest extends AbstractServerDiscoveryAnd
5454

5555
public ServerDiscoveryAndMonitoringTest(final String description, final BsonDocument definition) {
5656
super(definition);
57+
assumeFalse("https://jira.mongodb.org/browse/JAVA-5949",
58+
description.equals("error_handling_handshake.json: Network timeouts before and after the handshake completes"));
59+
5760
this.description = description;
5861
init(serverAddress -> NO_OP_SERVER_LISTENER, NO_OP_CLUSTER_LISTENER);
5962
}

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

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,24 @@ public static void applyCustomizations(final TestDef def) {
420420
.file("server-discovery-and-monitoring", "pool-clear-on-error-checkout");
421421
def.skipJira("https://jira.mongodb.org/browse/JAVA-5664")
422422
.file("server-discovery-and-monitoring", "pool-cleared-on-min-pool-size-population-error");
423+
def.skipJira("https://jira.mongodb.org/browse/JAVA-5949")
424+
.file("server-discovery-and-monitoring", "backpressure-network-error-fail");
425+
def.skipJira("https://jira.mongodb.org/browse/JAVA-5949")
426+
.file("server-discovery-and-monitoring", "backpressure-network-timeout-error");
427+
def.skipJira("https://jira.mongodb.org/browse/JAVA-5949")
428+
.file("server-discovery-and-monitoring", "backpressure-server-description-unchanged-on-min-pool-size-population-error");
429+
430+
// session tests
431+
def.skipJira("https://jira.mongodb.org/browse/JAVA-5968")
432+
.test("sessions", "snapshot-sessions", "Find operation with snapshot and snapshot time");
433+
def.skipJira("https://jira.mongodb.org/browse/JAVA-5968")
434+
.test("sessions", "snapshot-sessions", "Distinct operation with snapshot and snapshot time");
435+
def.skipJira("https://jira.mongodb.org/browse/JAVA-5968")
436+
.test("sessions", "snapshot-sessions", "Aggregate operation with snapshot and snapshot time");
437+
def.skipJira("https://jira.mongodb.org/browse/JAVA-5968")
438+
.test("sessions", "snapshot-sessions", "countDocuments operation with snapshot and snapshot time");
439+
def.skipJira("https://jira.mongodb.org/browse/JAVA-5968")
440+
.test("sessions", "snapshot-sessions", "Mixed operation with snapshot and snapshotTime");
423441

424442
// transactions
425443

0 commit comments

Comments
 (0)