Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion driver-core/src/test/resources/specifications
Submodule specifications updated 78 files
+19 −35 source/auth/auth.md
+15 −0 source/auth/tests/legacy/connection-string.json
+9 −0 source/auth/tests/legacy/connection-string.yml
+8 −16 source/auth/tests/mongodb-aws.md
+397 −0 source/benchmarking/odm-benchmarking.md
+ source/benchmarking/odm-data/flat_models.tgz
+ source/benchmarking/odm-data/nested_models.tgz
+3 −0 source/client-side-encryption/client-side-encryption.md
+3 −0 source/client-side-encryption/etc/data/lookup/schema-non-csfle.json
+34 −2 source/client-side-encryption/tests/README.md
+1 −1 source/client-side-encryption/tests/unified/fle2v2-CreateCollection.json
+1 −1 source/client-side-encryption/tests/unified/fle2v2-CreateCollection.yml
+2 −2 source/client-side-encryption/tests/unified/fle2v2-validatorAndPartialFieldExpression.json
+2 −2 source/client-side-encryption/tests/unified/fle2v2-validatorAndPartialFieldExpression.yml
+24 −24 source/compression/OP_COMPRESSED.md
+11 −0 source/connection-monitoring-and-pooling/connection-monitoring-and-pooling.md
+1 −1 source/connection-monitoring-and-pooling/tests/cmap-format/pool-create-min-size-error.json
+1 −1 source/connection-monitoring-and-pooling/tests/cmap-format/pool-create-min-size-error.yml
+1 −0 source/index.md
+2 −2 source/load-balancers/tests/sdam-error-handling.json
+2 −2 source/load-balancers/tests/sdam-error-handling.yml
+1 −1 source/logging/logging.md
+0 −3 source/open-telemetry/tests/operation/aggregate.json
+1 −1 source/open-telemetry/tests/operation/aggregate.yml
+85 −7 source/open-telemetry/tests/operation/atlas_search.json
+34 −3 source/open-telemetry/tests/operation/atlas_search.yml
+0 −3 source/open-telemetry/tests/operation/bulk_write.json
+0 −1 source/open-telemetry/tests/operation/bulk_write.yml
+29 −0 source/open-telemetry/tests/operation/delete.json
+11 −0 source/open-telemetry/tests/operation/delete.yml
+5 −0 source/open-telemetry/tests/operation/drop_collection.json
+5 −0 source/open-telemetry/tests/operation/drop_collection.yml
+0 −15 source/open-telemetry/tests/operation/find.json
+0 −5 source/open-telemetry/tests/operation/find.yml
+11 −6 source/open-telemetry/tests/operation/find_and_modify.json
+9 −6 source/open-telemetry/tests/operation/find_and_modify.yml
+11 −5 source/open-telemetry/tests/operation/find_without_query_text.json
+4 −2 source/open-telemetry/tests/operation/find_without_query_text.yml
+32 −3 source/open-telemetry/tests/operation/insert.json
+13 −2 source/open-telemetry/tests/operation/insert.yml
+8 −6 source/open-telemetry/tests/operation/list_collections.json
+3 −2 source/open-telemetry/tests/operation/list_collections.yml
+4 −1 source/open-telemetry/tests/operation/list_databases.json
+2 −0 source/open-telemetry/tests/operation/list_databases.yml
+0 −3 source/open-telemetry/tests/operation/list_indexes.json
+1 −1 source/open-telemetry/tests/operation/list_indexes.yml
+0 −3 source/open-telemetry/tests/operation/map_reduce.json
+1 −1 source/open-telemetry/tests/operation/map_reduce.yml
+12 −15 source/open-telemetry/tests/operation/retries.json
+10 −10 source/open-telemetry/tests/operation/retries.yml
+33 −1 source/open-telemetry/tests/operation/update.json
+14 −1 source/open-telemetry/tests/operation/update.yml
+96 −7 source/open-telemetry/tests/transaction/convenient.json
+39 −4 source/open-telemetry/tests/transaction/convenient.yml
+176 −11 source/open-telemetry/tests/transaction/core_api.json
+67 −6 source/open-telemetry/tests/transaction/core_api.yml
+37 −0 source/server-discovery-and-monitoring/server-discovery-and-monitoring-tests.md
+33 −23 source/server-discovery-and-monitoring/server-discovery-and-monitoring.md
+8 −1 source/server-discovery-and-monitoring/server-monitoring.md
+12 −4 source/server-discovery-and-monitoring/tests/errors/error_handling_handshake.json
+1 −10 source/server-discovery-and-monitoring/tests/errors/error_handling_handshake.yml
+140 −0 source/server-discovery-and-monitoring/tests/unified/backpressure-network-error-fail.json
+80 −0 source/server-discovery-and-monitoring/tests/unified/backpressure-network-error-fail.yml
+143 −0 source/server-discovery-and-monitoring/tests/unified/backpressure-network-timeout-fail.json
+83 −0 source/server-discovery-and-monitoring/tests/unified/backpressure-network-timeout-fail.yml
+106 −0 ...d-monitoring/tests/unified/backpressure-server-description-unchanged-on-min-pool-size-population-error.json
+62 −0 ...nd-monitoring/tests/unified/backpressure-server-description-unchanged-on-min-pool-size-population-error.yml
+0 −148 source/server-discovery-and-monitoring/tests/unified/pool-clear-checkout-error.json
+0 −90 source/server-discovery-and-monitoring/tests/unified/pool-clear-checkout-error.yml
+1 −15 source/server-discovery-and-monitoring/tests/unified/pool-clear-min-pool-size-error.json
+1 −10 source/server-discovery-and-monitoring/tests/unified/pool-clear-min-pool-size-error.yml
+43 −13 source/sessions/snapshot-sessions.md
+26 −1 source/sessions/tests/README.md
+804 −0 source/sessions/tests/snapshot-sessions.json
+404 −1 source/sessions/tests/snapshot-sessions.yml
+64 −0 source/transactions-convenient-api/tests/README.md
+56 −11 source/transactions-convenient-api/transactions-convenient-api.md
+10 −0 source/unified-test-format/unified-test-format.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ public void shouldPassAllOutcomes() {
assumeFalse(description.equals("should accept forwardAndReverse hostname canonicalization (GSSAPI)"));
assumeFalse(description.equals("should accept generic mechanism property (GSSAPI)"));
assumeFalse(description.equals("should accept no hostname canonicalization (GSSAPI)"));
assumeFalse("https://jira.mongodb.org/browse/JAVA-6030",
description.equals("should throw an exception if AWS_SESSION_TOKEN provided (MONGODB-AWS)"));
assumeFalse("https://jira.mongodb.org/browse/JAVA-6030",
description.equals("should throw an exception if username and password provided (MONGODB-AWS)"));

if (definition.getBoolean("valid").getValue()) {
testValidUris();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ public class ServerDiscoveryAndMonitoringTest extends AbstractServerDiscoveryAnd

public ServerDiscoveryAndMonitoringTest(final String description, final BsonDocument definition) {
super(definition);
assumeFalse("https://jira.mongodb.org/browse/JAVA-5949",
description.equals("error_handling_handshake.json: Network timeouts before and after the handshake completes"));

this.description = description;
init(serverAddress -> NO_OP_SERVER_LISTENER, NO_OP_CLUSTER_LISTENER);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,24 @@ public static void applyCustomizations(final TestDef def) {
.file("server-discovery-and-monitoring", "pool-clear-on-error-checkout");
def.skipJira("https://jira.mongodb.org/browse/JAVA-5664")
.file("server-discovery-and-monitoring", "pool-cleared-on-min-pool-size-population-error");
def.skipJira("https://jira.mongodb.org/browse/JAVA-5949")
.file("server-discovery-and-monitoring", "backpressure-network-error-fail");
def.skipJira("https://jira.mongodb.org/browse/JAVA-5949")
.file("server-discovery-and-monitoring", "backpressure-network-timeout-error");
def.skipJira("https://jira.mongodb.org/browse/JAVA-5949")
.file("server-discovery-and-monitoring", "backpressure-server-description-unchanged-on-min-pool-size-population-error");

// session tests
def.skipJira("https://jira.mongodb.org/browse/JAVA-5968")
.test("sessions", "snapshot-sessions", "Find operation with snapshot and snapshot time");
def.skipJira("https://jira.mongodb.org/browse/JAVA-5968")
.test("sessions", "snapshot-sessions", "Distinct operation with snapshot and snapshot time");
def.skipJira("https://jira.mongodb.org/browse/JAVA-5968")
.test("sessions", "snapshot-sessions", "Aggregate operation with snapshot and snapshot time");
def.skipJira("https://jira.mongodb.org/browse/JAVA-5968")
.test("sessions", "snapshot-sessions", "countDocuments operation with snapshot and snapshot time");
def.skipJira("https://jira.mongodb.org/browse/JAVA-5968")
.test("sessions", "snapshot-sessions", "Mixed operation with snapshot and snapshotTime");

// transactions

Expand Down