├── .config └── nextest.toml ├── .evergreen ├── aws-ecs-test │ ├── .gitignore │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── aws-lambda-test │ ├── .gitignore │ ├── README.md │ ├── events │ │ └── event.json │ ├── mongodb │ │ ├── Cargo.toml │ │ └── src │ │ │ └── main.rs │ ├── samconfig.toml │ └── template.yaml ├── azure-kms-test │ ├── .gitignore │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── benchmarks.yml ├── build-static-test-tarball.sh ├── cargo-test.sh ├── check-all.sh ├── check-cargo-deny.sh ├── check-clippy.sh ├── check-rustdoc.sh ├── check-rustfmt.sh ├── check-semgrep.sh ├── compile-only.sh ├── config.yml ├── create-expansions.sh ├── create-ssdlc-compliance-report.sh ├── env.sh ├── fetch-drivers-tools.sh ├── find-python3.sh ├── generate-tasks │ ├── .gitignore │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── generate-uri.sh ├── install-dependencies.sh ├── release-build-vars.sh ├── release-danger-do-not-run-manually.sh ├── release-fetch-tag.sh ├── release-manual-trigger.sh ├── release-sign.sh ├── releases.yml ├── run-atlas-tests.sh ├── run-aws-lambda-test.sh ├── run-aws-tests.sh ├── run-azure-kms-test.sh ├── run-bson-benchmarks.sh ├── run-compile-benchmarks.sh ├── run-csfle-tests.sh ├── run-driver-benchmark-unresponsive.sh ├── run-driver-benchmarks.sh ├── run-happy-eyeballs-tests.sh ├── run-mongodb-aws-ecs-test.sh ├── run-mongodb-oidc-test.sh ├── run-search-index-test.sh ├── run-serverless-tests.sh ├── run-sync-tests.sh ├── run-tests.sh ├── run-x509-tests.sh ├── ssdlc-compliance-report-template.md ├── suite-tasks.yml ├── unsymlink.py └── with-secrets.sh ├── .github ├── CODEOWNERS ├── ISSUE_TEMPLATE │ └── bug_report.md ├── dependabot.yml └── workflows │ ├── close_stale_issues.yml │ ├── issue_assignment.yml │ └── remove_labels.yml ├── .gitignore ├── .semgrepignore ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── benchmarks ├── .gitignore ├── Cargo.lock ├── Cargo.toml ├── README.md ├── download-data.sh ├── rustfmt.toml └── src │ ├── bench.rs │ ├── bench │ ├── bson_decode.rs │ ├── bson_encode.rs │ ├── bulk_write.rs │ ├── find_many.rs │ ├── find_one.rs │ ├── gridfs_download.rs │ ├── gridfs_multi_download.rs │ ├── gridfs_multi_upload.rs │ ├── gridfs_upload.rs │ ├── insert_many.rs │ ├── insert_one.rs │ ├── json_multi_export.rs │ ├── json_multi_import.rs │ └── run_command.rs │ ├── data.rs │ ├── fs.rs │ ├── main.rs │ ├── models.rs │ └── score.rs ├── clippy.toml ├── deny.toml ├── docs ├── manual │ └── index.html └── tour.md ├── etc ├── change_stream_legacy │ ├── .gitignore │ ├── Cargo.toml │ └── src │ │ └── main.rs ├── list-dependencies.sh ├── update-spec-tests.sh ├── update_version │ ├── .gitignore │ ├── Cargo.lock │ ├── Cargo.toml │ └── src │ │ └── main.rs └── wasmedge │ ├── .cargo │ └── config.toml │ ├── .gitignore │ ├── Cargo.toml │ ├── README.md │ └── src │ └── main.rs ├── macros ├── .gitignore ├── Cargo.toml └── src │ ├── action_impl.rs │ ├── lib.rs │ ├── option.rs │ └── rustdoc.rs ├── migration-3.0.md ├── rustfmt.toml ├── sbom.json ├── src ├── action.rs ├── action │ ├── aggregate.rs │ ├── bulk_write.rs │ ├── client_options.rs │ ├── count.rs │ ├── create_collection.rs │ ├── create_index.rs │ ├── csfle.rs │ ├── csfle │ │ ├── create_data_key.rs │ │ ├── create_encrypted_collection.rs │ │ └── encrypt.rs │ ├── delete.rs │ ├── distinct.rs │ ├── drop.rs │ ├── drop_index.rs │ ├── find.rs │ ├── find_and_modify.rs │ ├── gridfs.rs │ ├── gridfs │ │ ├── delete.rs │ │ ├── download.rs │ │ ├── drop.rs │ │ ├── find.rs │ │ ├── rename.rs │ │ └── upload.rs │ ├── insert_many.rs │ ├── insert_one.rs │ ├── list_collections.rs │ ├── list_databases.rs │ ├── list_indexes.rs │ ├── perf.rs │ ├── replace_one.rs │ ├── run_command.rs │ ├── search_index.rs │ ├── session.rs │ ├── shutdown.rs │ ├── transaction.rs │ ├── update.rs │ └── watch.rs ├── bson_util.rs ├── change_stream.rs ├── change_stream │ ├── event.rs │ ├── options.rs │ └── session.rs ├── checked.rs ├── client.rs ├── client │ ├── action.rs │ ├── action │ │ ├── perf.rs │ │ └── shutdown.rs │ ├── auth.rs │ ├── auth │ │ ├── aws.rs │ │ ├── oidc.rs │ │ ├── plain.rs │ │ ├── sasl.rs │ │ ├── scram.rs │ │ ├── test.rs │ │ └── x509.rs │ ├── csfle.rs │ ├── csfle │ │ ├── client_builder.rs │ │ ├── client_encryption.rs │ │ ├── client_encryption │ │ │ ├── create_data_key.rs │ │ │ └── encrypt.rs │ │ ├── options.rs │ │ └── state_machine.rs │ ├── executor.rs │ ├── options.rs │ ├── options │ │ ├── bulk_write.rs │ │ ├── parse.rs │ │ ├── resolver_config.rs │ │ └── test.rs │ ├── session.rs │ └── session │ │ ├── action.rs │ │ ├── cluster_time.rs │ │ ├── pool.rs │ │ ├── test.rs │ │ └── test │ │ └── causal_consistency.rs ├── cmap.rs ├── cmap │ ├── conn.rs │ ├── conn │ │ ├── command.rs │ │ ├── pooled.rs │ │ ├── stream_description.rs │ │ ├── wire.rs │ │ └── wire │ │ │ ├── header.rs │ │ │ ├── message.rs │ │ │ └── util.rs │ ├── connection_requester.rs │ ├── establish.rs │ ├── establish │ │ ├── handshake.rs │ │ └── handshake │ │ │ └── test.rs │ ├── manager.rs │ ├── options.rs │ ├── status.rs │ ├── test.rs │ ├── test │ │ ├── event.rs │ │ ├── file.rs │ │ └── integration.rs │ └── worker.rs ├── coll.rs ├── coll │ ├── action.rs │ ├── action │ │ └── drop.rs │ └── options.rs ├── collation.rs ├── compression.rs ├── compression │ ├── compress.rs │ ├── compressors.rs │ └── decompress.rs ├── concern.rs ├── concern │ └── test.rs ├── cursor.rs ├── cursor │ ├── common.rs │ └── session.rs ├── db.rs ├── db │ ├── action.rs │ ├── action │ │ └── create_collection.rs │ └── options.rs ├── error.rs ├── error │ └── bulk_write.rs ├── event.rs ├── event │ ├── cmap.rs │ ├── command.rs │ ├── sdam.rs │ └── sdam │ │ └── topology_description.rs ├── gridfs.rs ├── gridfs │ ├── download.rs │ ├── options.rs │ └── upload.rs ├── hello.rs ├── id_set.rs ├── index.rs ├── index │ └── options.rs ├── lib.rs ├── operation.rs ├── operation │ ├── abort_transaction.rs │ ├── aggregate.rs │ ├── aggregate │ │ └── change_stream.rs │ ├── bulk_write.rs │ ├── bulk_write │ │ └── server_responses.rs │ ├── commit_transaction.rs │ ├── count.rs │ ├── count_documents.rs │ ├── create.rs │ ├── create_indexes.rs │ ├── delete.rs │ ├── distinct.rs │ ├── drop_collection.rs │ ├── drop_database.rs │ ├── drop_indexes.rs │ ├── find.rs │ ├── find_and_modify.rs │ ├── find_and_modify │ │ └── options.rs │ ├── get_more.rs │ ├── insert.rs │ ├── list_collections.rs │ ├── list_databases.rs │ ├── list_indexes.rs │ ├── raw_output.rs │ ├── run_command.rs │ ├── run_cursor_command.rs │ ├── search_index.rs │ └── update.rs ├── options.rs ├── results.rs ├── results │ └── bulk_write.rs ├── runtime.rs ├── runtime │ ├── acknowledged_message.rs │ ├── http.rs │ ├── join_handle.rs │ ├── pem.rs │ ├── process.rs │ ├── resolver.rs │ ├── stream.rs │ ├── sync_read_ext.rs │ ├── tls_openssl.rs │ ├── tls_rustls.rs │ └── worker_handle.rs ├── sdam.rs ├── sdam │ ├── description.rs │ ├── description │ │ ├── server.rs │ │ ├── topology.rs │ │ └── topology │ │ │ ├── server_selection.rs │ │ │ ├── server_selection │ │ │ ├── test.rs │ │ │ └── test │ │ │ │ ├── in_window.rs │ │ │ │ └── logic.rs │ │ │ ├── test.rs │ │ │ └── test │ │ │ ├── event.rs │ │ │ ├── rtt.rs │ │ │ └── sdam.rs │ ├── monitor.rs │ ├── public.rs │ ├── server.rs │ ├── srv_polling.rs │ ├── srv_polling │ │ └── test.rs │ ├── test.rs │ └── topology.rs ├── search_index.rs ├── selection_criteria.rs ├── serde_util.rs ├── srv.rs ├── sync.rs ├── sync │ ├── change_stream.rs │ ├── client.rs │ ├── client │ │ └── session.rs │ ├── coll.rs │ ├── cursor.rs │ ├── db.rs │ ├── gridfs.rs │ └── test.rs ├── test.rs ├── test │ ├── README.md │ ├── atlas_connectivity.rs │ ├── atlas_planned_maintenance_testing.rs │ ├── atlas_planned_maintenance_testing │ │ └── json_models.rs │ ├── auth.rs │ ├── auth │ │ └── aws.rs │ ├── bulk_write.rs │ ├── change_stream.rs │ ├── client.rs │ ├── coll.rs │ ├── compression.rs │ ├── csfle.rs │ ├── csfle │ │ ├── azure_imds.rs │ │ ├── kmip.rs │ │ ├── kms_retry.rs │ │ ├── on_demand_aws.rs │ │ ├── on_demand_gcp.rs │ │ ├── prose.rs │ │ └── spec.rs │ ├── cursor.rs │ ├── db.rs │ ├── documentation_examples.rs │ ├── documentation_examples │ │ └── aggregation_data.rs │ ├── happy_eyeballs.rs │ ├── index_management.rs │ ├── index_management │ │ └── search_index.rs │ ├── lambda_examples.rs │ ├── lambda_examples │ │ ├── auth.rs │ │ └── no_auth.rs │ ├── spec.rs │ ├── spec │ │ ├── auth.rs │ │ ├── change_streams.rs │ │ ├── collection_management.rs │ │ ├── command_monitoring.rs │ │ ├── connection_stepdown.rs │ │ ├── crud.rs │ │ ├── faas.rs │ │ ├── gridfs.rs │ │ ├── handshake.rs │ │ ├── initial_dns_seedlist_discovery.rs │ │ ├── json │ │ │ ├── auth │ │ │ │ ├── README.md │ │ │ │ ├── legacy │ │ │ │ │ ├── connection-string.json │ │ │ │ │ └── connection-string.yml │ │ │ │ ├── mongodb-aws.md │ │ │ │ ├── mongodb-oidc.md │ │ │ │ └── unified │ │ │ │ │ ├── mongodb-oidc-no-retry.json │ │ │ │ │ └── mongodb-oidc-no-retry.yml │ │ │ ├── change-streams │ │ │ │ ├── README.md │ │ │ │ └── unified │ │ │ │ │ ├── change-streams-clusterTime.json │ │ │ │ │ ├── change-streams-clusterTime.yml │ │ │ │ │ ├── change-streams-disambiguatedPaths.json │ │ │ │ │ ├── change-streams-disambiguatedPaths.yml │ │ │ │ │ ├── change-streams-errors.json │ │ │ │ │ ├── change-streams-errors.yml │ │ │ │ │ ├── change-streams-nsType.json │ │ │ │ │ ├── change-streams-nsType.yml │ │ │ │ │ ├── change-streams-pre_and_post_images.json │ │ │ │ │ ├── change-streams-pre_and_post_images.yml │ │ │ │ │ ├── change-streams-resume-allowlist.json │ │ │ │ │ ├── change-streams-resume-allowlist.yml │ │ │ │ │ ├── change-streams-resume-errorLabels.json │ │ │ │ │ ├── change-streams-resume-errorLabels.yml │ │ │ │ │ ├── change-streams-showExpandedEvents.json │ │ │ │ │ ├── change-streams-showExpandedEvents.yml │ │ │ │ │ ├── change-streams.json │ │ │ │ │ └── change-streams.yml │ │ │ ├── client-side-encryption │ │ │ │ ├── README.md │ │ │ │ ├── benchmarks.md │ │ │ │ ├── legacy │ │ │ │ │ ├── aggregate.json │ │ │ │ │ ├── aggregate.yml │ │ │ │ │ ├── awsTemporary.json │ │ │ │ │ ├── awsTemporary.yml │ │ │ │ │ ├── azureKMS.json │ │ │ │ │ ├── azureKMS.yml │ │ │ │ │ ├── badQueries.json │ │ │ │ │ ├── badQueries.yml │ │ │ │ │ ├── badSchema.json │ │ │ │ │ ├── badSchema.yml │ │ │ │ │ ├── basic.json │ │ │ │ │ ├── basic.yml │ │ │ │ │ ├── bulk.json │ │ │ │ │ ├── bulk.yml │ │ │ │ │ ├── bypassAutoEncryption.json │ │ │ │ │ ├── bypassAutoEncryption.yml │ │ │ │ │ ├── bypassedCommand.json │ │ │ │ │ ├── bypassedCommand.yml │ │ │ │ │ ├── count.json │ │ │ │ │ ├── count.yml │ │ │ │ │ ├── countDocuments.json │ │ │ │ │ ├── countDocuments.yml │ │ │ │ │ ├── create-and-createIndexes.json │ │ │ │ │ ├── create-and-createIndexes.yml │ │ │ │ │ ├── delete.json │ │ │ │ │ ├── delete.yml │ │ │ │ │ ├── distinct.json │ │ │ │ │ ├── distinct.yml │ │ │ │ │ ├── explain.json │ │ │ │ │ ├── explain.yml │ │ │ │ │ ├── find.json │ │ │ │ │ ├── find.yml │ │ │ │ │ ├── findOneAndDelete.json │ │ │ │ │ ├── findOneAndDelete.yml │ │ │ │ │ ├── findOneAndReplace.json │ │ │ │ │ ├── findOneAndReplace.yml │ │ │ │ │ ├── findOneAndUpdate.json │ │ │ │ │ ├── findOneAndUpdate.yml │ │ │ │ │ ├── fle2v2-BypassQueryAnalysis.json │ │ │ │ │ ├── fle2v2-BypassQueryAnalysis.yml │ │ │ │ │ ├── fle2v2-Compact.json │ │ │ │ │ ├── fle2v2-Compact.yml │ │ │ │ │ ├── fle2v2-CreateCollection-OldServer.json │ │ │ │ │ ├── fle2v2-CreateCollection-OldServer.yml │ │ │ │ │ ├── fle2v2-CreateCollection.json │ │ │ │ │ ├── fle2v2-CreateCollection.yml │ │ │ │ │ ├── fle2v2-DecryptExistingData.json │ │ │ │ │ ├── fle2v2-DecryptExistingData.yml │ │ │ │ │ ├── fle2v2-Delete.json │ │ │ │ │ ├── fle2v2-Delete.yml │ │ │ │ │ ├── fle2v2-EncryptedFields-vs-EncryptedFieldsMap.json │ │ │ │ │ ├── fle2v2-EncryptedFields-vs-EncryptedFieldsMap.yml │ │ │ │ │ ├── fle2v2-EncryptedFields-vs-jsonSchema.json │ │ │ │ │ ├── fle2v2-EncryptedFields-vs-jsonSchema.yml │ │ │ │ │ ├── fle2v2-EncryptedFieldsMap-defaults.json │ │ │ │ │ ├── fle2v2-EncryptedFieldsMap-defaults.yml │ │ │ │ │ ├── fle2v2-FindOneAndUpdate.json │ │ │ │ │ ├── fle2v2-FindOneAndUpdate.yml │ │ │ │ │ ├── fle2v2-InsertFind-Indexed.json │ │ │ │ │ ├── fle2v2-InsertFind-Indexed.yml │ │ │ │ │ ├── fle2v2-InsertFind-Unindexed.json │ │ │ │ │ ├── fle2v2-InsertFind-Unindexed.yml │ │ │ │ │ ├── fle2v2-MissingKey.json │ │ │ │ │ ├── fle2v2-MissingKey.yml │ │ │ │ │ ├── fle2v2-NoEncryption.json │ │ │ │ │ ├── fle2v2-NoEncryption.yml │ │ │ │ │ ├── fle2v2-Rangev2-Compact.json │ │ │ │ │ ├── fle2v2-Rangev2-Compact.yml │ │ │ │ │ ├── fle2v2-Rangev2-Date-Aggregate.json │ │ │ │ │ ├── fle2v2-Rangev2-Date-Aggregate.yml │ │ │ │ │ ├── fle2v2-Rangev2-Date-Correctness.json │ │ │ │ │ ├── fle2v2-Rangev2-Date-Correctness.yml │ │ │ │ │ ├── fle2v2-Rangev2-Date-Delete.json │ │ │ │ │ ├── fle2v2-Rangev2-Date-Delete.yml │ │ │ │ │ ├── fle2v2-Rangev2-Date-FindOneAndUpdate.json │ │ │ │ │ ├── fle2v2-Rangev2-Date-FindOneAndUpdate.yml │ │ │ │ │ ├── fle2v2-Rangev2-Date-InsertFind.json │ │ │ │ │ ├── fle2v2-Rangev2-Date-InsertFind.yml │ │ │ │ │ ├── fle2v2-Rangev2-Date-Update.json │ │ │ │ │ ├── fle2v2-Rangev2-Date-Update.yml │ │ │ │ │ ├── fle2v2-Rangev2-Decimal-Aggregate.json │ │ │ │ │ ├── fle2v2-Rangev2-Decimal-Aggregate.yml │ │ │ │ │ ├── fle2v2-Rangev2-Decimal-Correctness.json │ │ │ │ │ ├── fle2v2-Rangev2-Decimal-Correctness.yml │ │ │ │ │ ├── fle2v2-Rangev2-Decimal-Delete.json │ │ │ │ │ ├── fle2v2-Rangev2-Decimal-Delete.yml │ │ │ │ │ ├── fle2v2-Rangev2-Decimal-FindOneAndUpdate.json │ │ │ │ │ ├── fle2v2-Rangev2-Decimal-FindOneAndUpdate.yml │ │ │ │ │ ├── fle2v2-Rangev2-Decimal-InsertFind.json │ │ │ │ │ ├── fle2v2-Rangev2-Decimal-InsertFind.yml │ │ │ │ │ ├── fle2v2-Rangev2-Decimal-Update.json │ │ │ │ │ ├── fle2v2-Rangev2-Decimal-Update.yml │ │ │ │ │ ├── fle2v2-Rangev2-DecimalPrecision-Aggregate.json │ │ │ │ │ ├── fle2v2-Rangev2-DecimalPrecision-Aggregate.yml │ │ │ │ │ ├── fle2v2-Rangev2-DecimalPrecision-Correctness.json │ │ │ │ │ ├── fle2v2-Rangev2-DecimalPrecision-Correctness.yml │ │ │ │ │ ├── fle2v2-Rangev2-DecimalPrecision-Delete.json │ │ │ │ │ ├── fle2v2-Rangev2-DecimalPrecision-Delete.yml │ │ │ │ │ ├── fle2v2-Rangev2-DecimalPrecision-FindOneAndUpdate.json │ │ │ │ │ ├── fle2v2-Rangev2-DecimalPrecision-FindOneAndUpdate.yml │ │ │ │ │ ├── fle2v2-Rangev2-DecimalPrecision-InsertFind.json │ │ │ │ │ ├── fle2v2-Rangev2-DecimalPrecision-InsertFind.yml │ │ │ │ │ ├── fle2v2-Rangev2-DecimalPrecision-Update.json │ │ │ │ │ ├── fle2v2-Rangev2-DecimalPrecision-Update.yml │ │ │ │ │ ├── fle2v2-Rangev2-Defaults.json │ │ │ │ │ ├── fle2v2-Rangev2-Defaults.yml │ │ │ │ │ ├── fle2v2-Rangev2-Double-Aggregate.json │ │ │ │ │ ├── fle2v2-Rangev2-Double-Aggregate.yml │ │ │ │ │ ├── fle2v2-Rangev2-Double-Correctness.json │ │ │ │ │ ├── fle2v2-Rangev2-Double-Correctness.yml │ │ │ │ │ ├── fle2v2-Rangev2-Double-Delete.json │ │ │ │ │ ├── fle2v2-Rangev2-Double-Delete.yml │ │ │ │ │ ├── fle2v2-Rangev2-Double-FindOneAndUpdate.json │ │ │ │ │ ├── fle2v2-Rangev2-Double-FindOneAndUpdate.yml │ │ │ │ │ ├── fle2v2-Rangev2-Double-InsertFind.json │ │ │ │ │ ├── fle2v2-Rangev2-Double-InsertFind.yml │ │ │ │ │ ├── fle2v2-Rangev2-Double-Update.json │ │ │ │ │ ├── fle2v2-Rangev2-Double-Update.yml │ │ │ │ │ ├── fle2v2-Rangev2-DoublePrecision-Aggregate.json │ │ │ │ │ ├── fle2v2-Rangev2-DoublePrecision-Aggregate.yml │ │ │ │ │ ├── fle2v2-Rangev2-DoublePrecision-Correctness.json │ │ │ │ │ ├── fle2v2-Rangev2-DoublePrecision-Correctness.yml │ │ │ │ │ ├── fle2v2-Rangev2-DoublePrecision-Delete.json │ │ │ │ │ ├── fle2v2-Rangev2-DoublePrecision-Delete.yml │ │ │ │ │ ├── fle2v2-Rangev2-DoublePrecision-FindOneAndUpdate.json │ │ │ │ │ ├── fle2v2-Rangev2-DoublePrecision-FindOneAndUpdate.yml │ │ │ │ │ ├── fle2v2-Rangev2-DoublePrecision-InsertFind.json │ │ │ │ │ ├── fle2v2-Rangev2-DoublePrecision-InsertFind.yml │ │ │ │ │ ├── fle2v2-Rangev2-DoublePrecision-Update.json │ │ │ │ │ ├── fle2v2-Rangev2-DoublePrecision-Update.yml │ │ │ │ │ ├── fle2v2-Rangev2-Int-Aggregate.json │ │ │ │ │ ├── fle2v2-Rangev2-Int-Aggregate.yml │ │ │ │ │ ├── fle2v2-Rangev2-Int-Correctness.json │ │ │ │ │ ├── fle2v2-Rangev2-Int-Correctness.yml │ │ │ │ │ ├── fle2v2-Rangev2-Int-Delete.json │ │ │ │ │ ├── fle2v2-Rangev2-Int-Delete.yml │ │ │ │ │ ├── fle2v2-Rangev2-Int-FindOneAndUpdate.json │ │ │ │ │ ├── fle2v2-Rangev2-Int-FindOneAndUpdate.yml │ │ │ │ │ ├── fle2v2-Rangev2-Int-InsertFind.json │ │ │ │ │ ├── fle2v2-Rangev2-Int-InsertFind.yml │ │ │ │ │ ├── fle2v2-Rangev2-Int-Update.json │ │ │ │ │ ├── fle2v2-Rangev2-Int-Update.yml │ │ │ │ │ ├── fle2v2-Rangev2-Long-Aggregate.json │ │ │ │ │ ├── fle2v2-Rangev2-Long-Aggregate.yml │ │ │ │ │ ├── fle2v2-Rangev2-Long-Correctness.json │ │ │ │ │ ├── fle2v2-Rangev2-Long-Correctness.yml │ │ │ │ │ ├── fle2v2-Rangev2-Long-Delete.json │ │ │ │ │ ├── fle2v2-Rangev2-Long-Delete.yml │ │ │ │ │ ├── fle2v2-Rangev2-Long-FindOneAndUpdate.json │ │ │ │ │ ├── fle2v2-Rangev2-Long-FindOneAndUpdate.yml │ │ │ │ │ ├── fle2v2-Rangev2-Long-InsertFind.json │ │ │ │ │ ├── fle2v2-Rangev2-Long-InsertFind.yml │ │ │ │ │ ├── fle2v2-Rangev2-Long-Update.json │ │ │ │ │ ├── fle2v2-Rangev2-Long-Update.yml │ │ │ │ │ ├── fle2v2-Rangev2-WrongType.json │ │ │ │ │ ├── fle2v2-Rangev2-WrongType.yml │ │ │ │ │ ├── fle2v2-Update.json │ │ │ │ │ ├── fle2v2-Update.yml │ │ │ │ │ ├── fle2v2-validatorAndPartialFieldExpression.json │ │ │ │ │ ├── fle2v2-validatorAndPartialFieldExpression.yml │ │ │ │ │ ├── gcpKMS.json │ │ │ │ │ ├── gcpKMS.yml │ │ │ │ │ ├── getMore.json │ │ │ │ │ ├── getMore.yml │ │ │ │ │ ├── insert.json │ │ │ │ │ ├── insert.yml │ │ │ │ │ ├── keyAltName.json │ │ │ │ │ ├── keyAltName.yml │ │ │ │ │ ├── keyCache.json │ │ │ │ │ ├── keyCache.yml │ │ │ │ │ ├── kmipKMS.json │ │ │ │ │ ├── kmipKMS.yml │ │ │ │ │ ├── localKMS.json │ │ │ │ │ ├── localKMS.yml │ │ │ │ │ ├── localSchema.json │ │ │ │ │ ├── localSchema.yml │ │ │ │ │ ├── malformedCiphertext.json │ │ │ │ │ ├── malformedCiphertext.yml │ │ │ │ │ ├── maxWireVersion.json │ │ │ │ │ ├── maxWireVersion.yml │ │ │ │ │ ├── missingKey.json │ │ │ │ │ ├── missingKey.yml │ │ │ │ │ ├── namedKMS.json │ │ │ │ │ ├── namedKMS.yml │ │ │ │ │ ├── noSchema.json │ │ │ │ │ ├── noSchema.yml │ │ │ │ │ ├── replaceOne.json │ │ │ │ │ ├── replaceOne.yml │ │ │ │ │ ├── timeoutMS.json │ │ │ │ │ ├── timeoutMS.yml │ │ │ │ │ ├── types.json │ │ │ │ │ ├── types.yml │ │ │ │ │ ├── unsupportedCommand.json │ │ │ │ │ ├── unsupportedCommand.yml │ │ │ │ │ ├── updateMany.json │ │ │ │ │ ├── updateMany.yml │ │ │ │ │ ├── updateOne.json │ │ │ │ │ ├── updateOne.yml │ │ │ │ │ ├── validatorAndPartialFieldExpression.json │ │ │ │ │ └── validatorAndPartialFieldExpression.yml │ │ │ │ └── unified │ │ │ │ │ ├── addKeyAltName.json │ │ │ │ │ ├── addKeyAltName.yml │ │ │ │ │ ├── createDataKey-kms_providers-invalid.json │ │ │ │ │ ├── createDataKey-kms_providers-invalid.yml │ │ │ │ │ ├── createDataKey.json │ │ │ │ │ ├── createDataKey.yml │ │ │ │ │ ├── deleteKey.json │ │ │ │ │ ├── deleteKey.yml │ │ │ │ │ ├── getKey.json │ │ │ │ │ ├── getKey.yml │ │ │ │ │ ├── getKeyByAltName.json │ │ │ │ │ ├── getKeyByAltName.yml │ │ │ │ │ ├── getKeys.json │ │ │ │ │ ├── getKeys.yml │ │ │ │ │ ├── keyCache.json │ │ │ │ │ ├── keyCache.yml │ │ │ │ │ ├── namedKMS-createDataKey.json │ │ │ │ │ ├── namedKMS-createDataKey.yml │ │ │ │ │ ├── namedKMS-explicit.json │ │ │ │ │ ├── namedKMS-explicit.yml │ │ │ │ │ ├── namedKMS-rewrapManyDataKey.json │ │ │ │ │ ├── namedKMS-rewrapManyDataKey.yml │ │ │ │ │ ├── removeKeyAltName.json │ │ │ │ │ ├── removeKeyAltName.yml │ │ │ │ │ ├── rewrapManyDataKey-decrypt_failure.json │ │ │ │ │ ├── rewrapManyDataKey-decrypt_failure.yml │ │ │ │ │ ├── rewrapManyDataKey-encrypt_failure.json │ │ │ │ │ ├── rewrapManyDataKey-encrypt_failure.yml │ │ │ │ │ ├── rewrapManyDataKey.json │ │ │ │ │ └── rewrapManyDataKey.yml │ │ │ ├── collection-management │ │ │ │ ├── README.rst │ │ │ │ ├── clustered-indexes.json │ │ │ │ ├── clustered-indexes.yml │ │ │ │ ├── createCollection-pre_and_post_images.json │ │ │ │ ├── createCollection-pre_and_post_images.yml │ │ │ │ ├── modifyCollection-errorResponse.json │ │ │ │ ├── modifyCollection-errorResponse.yml │ │ │ │ ├── modifyCollection-pre_and_post_images.json │ │ │ │ ├── modifyCollection-pre_and_post_images.yml │ │ │ │ ├── timeseries-collection.json │ │ │ │ └── timeseries-collection.yml │ │ │ ├── command-logging-and-monitoring │ │ │ │ ├── README.md │ │ │ │ ├── logging │ │ │ │ │ ├── command.json │ │ │ │ │ ├── command.yml │ │ │ │ │ ├── driver-connection-id.json │ │ │ │ │ ├── driver-connection-id.yml │ │ │ │ │ ├── no-handshake-messages.json │ │ │ │ │ ├── no-handshake-messages.yml │ │ │ │ │ ├── no-heartbeat-messages.json │ │ │ │ │ ├── no-heartbeat-messages.yml │ │ │ │ │ ├── operation-id.json │ │ │ │ │ ├── operation-id.yml │ │ │ │ │ ├── pre-42-server-connection-id.json │ │ │ │ │ ├── pre-42-server-connection-id.yml │ │ │ │ │ ├── redacted-commands.json │ │ │ │ │ ├── redacted-commands.yml │ │ │ │ │ ├── server-connection-id.json │ │ │ │ │ ├── server-connection-id.yml │ │ │ │ │ ├── service-id.json │ │ │ │ │ ├── service-id.yml │ │ │ │ │ ├── unacknowledged-write.json │ │ │ │ │ └── unacknowledged-write.yml │ │ │ │ └── monitoring │ │ │ │ │ ├── bulkWrite.json │ │ │ │ │ ├── bulkWrite.yml │ │ │ │ │ ├── command.json │ │ │ │ │ ├── command.yml │ │ │ │ │ ├── deleteMany.json │ │ │ │ │ ├── deleteMany.yml │ │ │ │ │ ├── deleteOne.json │ │ │ │ │ ├── deleteOne.yml │ │ │ │ │ ├── find.json │ │ │ │ │ ├── find.yml │ │ │ │ │ ├── insertMany.json │ │ │ │ │ ├── insertMany.yml │ │ │ │ │ ├── insertOne.json │ │ │ │ │ ├── insertOne.yml │ │ │ │ │ ├── pre-42-server-connection-id.json │ │ │ │ │ ├── pre-42-server-connection-id.yml │ │ │ │ │ ├── redacted-commands.json │ │ │ │ │ ├── redacted-commands.yml │ │ │ │ │ ├── server-connection-id.json │ │ │ │ │ ├── server-connection-id.yml │ │ │ │ │ ├── unacknowledged-client-bulkWrite.json │ │ │ │ │ ├── unacknowledged-client-bulkWrite.yml │ │ │ │ │ ├── unacknowledgedBulkWrite.json │ │ │ │ │ ├── unacknowledgedBulkWrite.yml │ │ │ │ │ ├── updateMany.json │ │ │ │ │ ├── updateMany.yml │ │ │ │ │ ├── updateOne.json │ │ │ │ │ ├── updateOne.yml │ │ │ │ │ ├── writeConcernError.json │ │ │ │ │ └── writeConcernError.yml │ │ │ ├── command-monitoring │ │ │ │ └── README.rst │ │ │ ├── connection-monitoring-and-pooling │ │ │ │ ├── README.md │ │ │ │ ├── cmap-format │ │ │ │ │ ├── README.md │ │ │ │ │ ├── connection-must-have-id.json │ │ │ │ │ ├── connection-must-have-id.yml │ │ │ │ │ ├── connection-must-order-ids.json │ │ │ │ │ ├── connection-must-order-ids.yml │ │ │ │ │ ├── pool-checkin-destroy-closed.json │ │ │ │ │ ├── pool-checkin-destroy-closed.yml │ │ │ │ │ ├── pool-checkin-destroy-stale.json │ │ │ │ │ ├── pool-checkin-destroy-stale.yml │ │ │ │ │ ├── pool-checkin-make-available.json │ │ │ │ │ ├── pool-checkin-make-available.yml │ │ │ │ │ ├── pool-checkin.json │ │ │ │ │ ├── pool-checkin.yml │ │ │ │ │ ├── pool-checkout-connection.json │ │ │ │ │ ├── pool-checkout-connection.yml │ │ │ │ │ ├── pool-checkout-custom-maxConnecting-is-enforced.json │ │ │ │ │ ├── pool-checkout-custom-maxConnecting-is-enforced.yml │ │ │ │ │ ├── pool-checkout-error-closed.json │ │ │ │ │ ├── pool-checkout-error-closed.yml │ │ │ │ │ ├── pool-checkout-maxConnecting-is-enforced.json │ │ │ │ │ ├── pool-checkout-maxConnecting-is-enforced.yml │ │ │ │ │ ├── pool-checkout-maxConnecting-timeout.json │ │ │ │ │ ├── pool-checkout-maxConnecting-timeout.yml │ │ │ │ │ ├── pool-checkout-minPoolSize-connection-maxConnecting.json │ │ │ │ │ ├── pool-checkout-minPoolSize-connection-maxConnecting.yml │ │ │ │ │ ├── pool-checkout-multiple.json │ │ │ │ │ ├── pool-checkout-multiple.yml │ │ │ │ │ ├── pool-checkout-no-idle.json │ │ │ │ │ ├── pool-checkout-no-idle.yml │ │ │ │ │ ├── pool-checkout-no-stale.json │ │ │ │ │ ├── pool-checkout-no-stale.yml │ │ │ │ │ ├── pool-checkout-returned-connection-maxConnecting.json │ │ │ │ │ ├── pool-checkout-returned-connection-maxConnecting.yml │ │ │ │ │ ├── pool-clear-clears-waitqueue.json │ │ │ │ │ ├── pool-clear-clears-waitqueue.yml │ │ │ │ │ ├── pool-clear-interrupting-pending-connections.json │ │ │ │ │ ├── pool-clear-interrupting-pending-connections.yml │ │ │ │ │ ├── pool-clear-min-size.json │ │ │ │ │ ├── pool-clear-min-size.yml │ │ │ │ │ ├── pool-clear-paused.json │ │ │ │ │ ├── pool-clear-paused.yml │ │ │ │ │ ├── pool-clear-ready.json │ │ │ │ │ ├── pool-clear-ready.yml │ │ │ │ │ ├── pool-clear-schedule-run-interruptInUseConnections-false.json │ │ │ │ │ ├── pool-clear-schedule-run-interruptInUseConnections-false.yml │ │ │ │ │ ├── pool-close-destroy-conns.json │ │ │ │ │ ├── pool-close-destroy-conns.yml │ │ │ │ │ ├── pool-close.json │ │ │ │ │ ├── pool-close.yml │ │ │ │ │ ├── pool-create-max-size.json │ │ │ │ │ ├── pool-create-max-size.yml │ │ │ │ │ ├── pool-create-min-size-error.json │ │ │ │ │ ├── pool-create-min-size-error.yml │ │ │ │ │ ├── pool-create-min-size.json │ │ │ │ │ ├── pool-create-min-size.yml │ │ │ │ │ ├── pool-create-with-options.json │ │ │ │ │ ├── pool-create-with-options.yml │ │ │ │ │ ├── pool-create.json │ │ │ │ │ ├── pool-create.yml │ │ │ │ │ ├── pool-ready-ready.json │ │ │ │ │ ├── pool-ready-ready.yml │ │ │ │ │ ├── pool-ready.json │ │ │ │ │ ├── pool-ready.yml │ │ │ │ │ ├── wait-queue-fairness.json │ │ │ │ │ ├── wait-queue-fairness.yml │ │ │ │ │ ├── wait-queue-timeout.json │ │ │ │ │ └── wait-queue-timeout.yml │ │ │ │ └── logging │ │ │ │ │ ├── connection-logging.json │ │ │ │ │ ├── connection-logging.yml │ │ │ │ │ ├── connection-pool-options.json │ │ │ │ │ └── connection-pool-options.yml │ │ │ ├── connection-string │ │ │ │ ├── README.md │ │ │ │ ├── invalid-uris.json │ │ │ │ ├── invalid-uris.yml │ │ │ │ ├── valid-auth.json │ │ │ │ ├── valid-auth.yml │ │ │ │ ├── valid-db-with-dotted-name.json │ │ │ │ ├── valid-db-with-dotted-name.yml │ │ │ │ ├── valid-host_identifiers.json │ │ │ │ ├── valid-host_identifiers.yml │ │ │ │ ├── valid-options.json │ │ │ │ ├── valid-options.yml │ │ │ │ ├── valid-unix_socket-absolute.json │ │ │ │ ├── valid-unix_socket-absolute.yml │ │ │ │ ├── valid-unix_socket-relative.json │ │ │ │ ├── valid-unix_socket-relative.yml │ │ │ │ ├── valid-warnings.json │ │ │ │ └── valid-warnings.yml │ │ │ ├── crud │ │ │ │ ├── README.md │ │ │ │ └── unified │ │ │ │ │ ├── aggregate-allowdiskuse.json │ │ │ │ │ ├── aggregate-allowdiskuse.yml │ │ │ │ │ ├── aggregate-collation.json │ │ │ │ │ ├── aggregate-collation.yml │ │ │ │ │ ├── aggregate-let.json │ │ │ │ │ ├── aggregate-let.yml │ │ │ │ │ ├── aggregate-merge-errorResponse.json │ │ │ │ │ ├── aggregate-merge-errorResponse.yml │ │ │ │ │ ├── aggregate-merge.json │ │ │ │ │ ├── aggregate-merge.yml │ │ │ │ │ ├── aggregate-out-readConcern.json │ │ │ │ │ ├── aggregate-out-readConcern.yml │ │ │ │ │ ├── aggregate-out.json │ │ │ │ │ ├── aggregate-out.yml │ │ │ │ │ ├── aggregate-write-readPreference.json │ │ │ │ │ ├── aggregate-write-readPreference.yml │ │ │ │ │ ├── aggregate.json │ │ │ │ │ ├── aggregate.yml │ │ │ │ │ ├── bulkWrite-arrayFilters-clientError.json │ │ │ │ │ ├── bulkWrite-arrayFilters-clientError.yml │ │ │ │ │ ├── bulkWrite-arrayFilters.json │ │ │ │ │ ├── bulkWrite-arrayFilters.yml │ │ │ │ │ ├── bulkWrite-collation.json │ │ │ │ │ ├── bulkWrite-collation.yml │ │ │ │ │ ├── bulkWrite-comment.json │ │ │ │ │ ├── bulkWrite-comment.yml │ │ │ │ │ ├── bulkWrite-delete-hint-clientError.json │ │ │ │ │ ├── bulkWrite-delete-hint-clientError.yml │ │ │ │ │ ├── bulkWrite-delete-hint-serverError.json │ │ │ │ │ ├── bulkWrite-delete-hint-serverError.yml │ │ │ │ │ ├── bulkWrite-delete-hint.json │ │ │ │ │ ├── bulkWrite-delete-hint.yml │ │ │ │ │ ├── bulkWrite-deleteMany-hint-unacknowledged.json │ │ │ │ │ ├── bulkWrite-deleteMany-hint-unacknowledged.yml │ │ │ │ │ ├── bulkWrite-deleteMany-let.json │ │ │ │ │ ├── bulkWrite-deleteMany-let.yml │ │ │ │ │ ├── bulkWrite-deleteOne-hint-unacknowledged.json │ │ │ │ │ ├── bulkWrite-deleteOne-hint-unacknowledged.yml │ │ │ │ │ ├── bulkWrite-deleteOne-let.json │ │ │ │ │ ├── bulkWrite-deleteOne-let.yml │ │ │ │ │ ├── bulkWrite-errorResponse.json │ │ │ │ │ ├── bulkWrite-errorResponse.yml │ │ │ │ │ ├── bulkWrite-insertOne-dots_and_dollars.json │ │ │ │ │ ├── bulkWrite-insertOne-dots_and_dollars.yml │ │ │ │ │ ├── bulkWrite-replaceOne-dots_and_dollars.json │ │ │ │ │ ├── bulkWrite-replaceOne-dots_and_dollars.yml │ │ │ │ │ ├── bulkWrite-replaceOne-hint-unacknowledged.json │ │ │ │ │ ├── bulkWrite-replaceOne-hint-unacknowledged.yml │ │ │ │ │ ├── bulkWrite-replaceOne-let.json │ │ │ │ │ ├── bulkWrite-replaceOne-let.yml │ │ │ │ │ ├── bulkWrite-replaceOne-sort.json │ │ │ │ │ ├── bulkWrite-replaceOne-sort.yml │ │ │ │ │ ├── bulkWrite-update-hint-clientError.json │ │ │ │ │ ├── bulkWrite-update-hint-clientError.yml │ │ │ │ │ ├── bulkWrite-update-hint-serverError.json │ │ │ │ │ ├── bulkWrite-update-hint-serverError.yml │ │ │ │ │ ├── bulkWrite-update-hint.json │ │ │ │ │ ├── bulkWrite-update-hint.yml │ │ │ │ │ ├── bulkWrite-update-validation.json │ │ │ │ │ ├── bulkWrite-update-validation.yml │ │ │ │ │ ├── bulkWrite-updateMany-dots_and_dollars.json │ │ │ │ │ ├── bulkWrite-updateMany-dots_and_dollars.yml │ │ │ │ │ ├── bulkWrite-updateMany-hint-unacknowledged.json │ │ │ │ │ ├── bulkWrite-updateMany-hint-unacknowledged.yml │ │ │ │ │ ├── bulkWrite-updateMany-let.json │ │ │ │ │ ├── bulkWrite-updateMany-let.yml │ │ │ │ │ ├── bulkWrite-updateMany-pipeline.json │ │ │ │ │ ├── bulkWrite-updateMany-pipeline.yml │ │ │ │ │ ├── bulkWrite-updateOne-dots_and_dollars.json │ │ │ │ │ ├── bulkWrite-updateOne-dots_and_dollars.yml │ │ │ │ │ ├── bulkWrite-updateOne-hint-unacknowledged.json │ │ │ │ │ ├── bulkWrite-updateOne-hint-unacknowledged.yml │ │ │ │ │ ├── bulkWrite-updateOne-let.json │ │ │ │ │ ├── bulkWrite-updateOne-let.yml │ │ │ │ │ ├── bulkWrite-updateOne-pipeline.json │ │ │ │ │ ├── bulkWrite-updateOne-pipeline.yml │ │ │ │ │ ├── bulkWrite-updateOne-sort.json │ │ │ │ │ ├── bulkWrite-updateOne-sort.yml │ │ │ │ │ ├── bulkWrite.json │ │ │ │ │ ├── bulkWrite.yml │ │ │ │ │ ├── bypassDocumentValidation.json │ │ │ │ │ ├── bypassDocumentValidation.yml │ │ │ │ │ ├── client-bulkWrite-delete-options.json │ │ │ │ │ ├── client-bulkWrite-delete-options.yml │ │ │ │ │ ├── client-bulkWrite-errorResponse.json │ │ │ │ │ ├── client-bulkWrite-errorResponse.yml │ │ │ │ │ ├── client-bulkWrite-errors.json │ │ │ │ │ ├── client-bulkWrite-errors.yml │ │ │ │ │ ├── client-bulkWrite-mixed-namespaces.json │ │ │ │ │ ├── client-bulkWrite-mixed-namespaces.yml │ │ │ │ │ ├── client-bulkWrite-options.json │ │ │ │ │ ├── client-bulkWrite-options.yml │ │ │ │ │ ├── client-bulkWrite-ordered.json │ │ │ │ │ ├── client-bulkWrite-ordered.yml │ │ │ │ │ ├── client-bulkWrite-partialResults.json │ │ │ │ │ ├── client-bulkWrite-partialResults.yml │ │ │ │ │ ├── client-bulkWrite-replaceOne-sort.json │ │ │ │ │ ├── client-bulkWrite-replaceOne-sort.yml │ │ │ │ │ ├── client-bulkWrite-results.json │ │ │ │ │ ├── client-bulkWrite-results.yml │ │ │ │ │ ├── client-bulkWrite-update-options.json │ │ │ │ │ ├── client-bulkWrite-update-options.yml │ │ │ │ │ ├── client-bulkWrite-update-pipeline.json │ │ │ │ │ ├── client-bulkWrite-update-pipeline.yml │ │ │ │ │ ├── client-bulkWrite-update-validation.json │ │ │ │ │ ├── client-bulkWrite-update-validation.yml │ │ │ │ │ ├── client-bulkWrite-updateOne-sort.json │ │ │ │ │ ├── client-bulkWrite-updateOne-sort.yml │ │ │ │ │ ├── count-collation.json │ │ │ │ │ ├── count-collation.yml │ │ │ │ │ ├── count-empty.json │ │ │ │ │ ├── count-empty.yml │ │ │ │ │ ├── count.json │ │ │ │ │ ├── count.yml │ │ │ │ │ ├── countDocuments-comment.json │ │ │ │ │ ├── countDocuments-comment.yml │ │ │ │ │ ├── create-null-ids.json │ │ │ │ │ ├── create-null-ids.yml │ │ │ │ │ ├── db-aggregate-write-readPreference.json │ │ │ │ │ ├── db-aggregate-write-readPreference.yml │ │ │ │ │ ├── db-aggregate.json │ │ │ │ │ ├── db-aggregate.yml │ │ │ │ │ ├── deleteMany-collation.json │ │ │ │ │ ├── deleteMany-collation.yml │ │ │ │ │ ├── deleteMany-comment.json │ │ │ │ │ ├── deleteMany-comment.yml │ │ │ │ │ ├── deleteMany-hint-clientError.json │ │ │ │ │ ├── deleteMany-hint-clientError.yml │ │ │ │ │ ├── deleteMany-hint-serverError.json │ │ │ │ │ ├── deleteMany-hint-serverError.yml │ │ │ │ │ ├── deleteMany-hint-unacknowledged.json │ │ │ │ │ ├── deleteMany-hint-unacknowledged.yml │ │ │ │ │ ├── deleteMany-hint.json │ │ │ │ │ ├── deleteMany-hint.yml │ │ │ │ │ ├── deleteMany-let.json │ │ │ │ │ ├── deleteMany-let.yml │ │ │ │ │ ├── deleteMany.json │ │ │ │ │ ├── deleteMany.yml │ │ │ │ │ ├── deleteOne-collation.json │ │ │ │ │ ├── deleteOne-collation.yml │ │ │ │ │ ├── deleteOne-comment.json │ │ │ │ │ ├── deleteOne-comment.yml │ │ │ │ │ ├── deleteOne-errorResponse.json │ │ │ │ │ ├── deleteOne-errorResponse.yml │ │ │ │ │ ├── deleteOne-hint-clientError.json │ │ │ │ │ ├── deleteOne-hint-clientError.yml │ │ │ │ │ ├── deleteOne-hint-serverError.json │ │ │ │ │ ├── deleteOne-hint-serverError.yml │ │ │ │ │ ├── deleteOne-hint-unacknowledged.json │ │ │ │ │ ├── deleteOne-hint-unacknowledged.yml │ │ │ │ │ ├── deleteOne-hint.json │ │ │ │ │ ├── deleteOne-hint.yml │ │ │ │ │ ├── deleteOne-let.json │ │ │ │ │ ├── deleteOne-let.yml │ │ │ │ │ ├── deleteOne.json │ │ │ │ │ ├── deleteOne.yml │ │ │ │ │ ├── distinct-collation.json │ │ │ │ │ ├── distinct-collation.yml │ │ │ │ │ ├── distinct-comment.json │ │ │ │ │ ├── distinct-comment.yml │ │ │ │ │ ├── distinct-hint.json │ │ │ │ │ ├── distinct-hint.yml │ │ │ │ │ ├── distinct.json │ │ │ │ │ ├── distinct.yml │ │ │ │ │ ├── estimatedDocumentCount-comment.json │ │ │ │ │ ├── estimatedDocumentCount-comment.yml │ │ │ │ │ ├── estimatedDocumentCount.json │ │ │ │ │ ├── estimatedDocumentCount.yml │ │ │ │ │ ├── find-allowdiskuse-clientError.json │ │ │ │ │ ├── find-allowdiskuse-clientError.yml │ │ │ │ │ ├── find-allowdiskuse-serverError.json │ │ │ │ │ ├── find-allowdiskuse-serverError.yml │ │ │ │ │ ├── find-allowdiskuse.json │ │ │ │ │ ├── find-allowdiskuse.yml │ │ │ │ │ ├── find-collation.json │ │ │ │ │ ├── find-collation.yml │ │ │ │ │ ├── find-comment.json │ │ │ │ │ ├── find-comment.yml │ │ │ │ │ ├── find-let.json │ │ │ │ │ ├── find-let.yml │ │ │ │ │ ├── find.json │ │ │ │ │ ├── find.yml │ │ │ │ │ ├── findOne.json │ │ │ │ │ ├── findOne.yml │ │ │ │ │ ├── findOneAndDelete-collation.json │ │ │ │ │ ├── findOneAndDelete-collation.yml │ │ │ │ │ ├── findOneAndDelete-comment.json │ │ │ │ │ ├── findOneAndDelete-comment.yml │ │ │ │ │ ├── findOneAndDelete-hint-clientError.json │ │ │ │ │ ├── findOneAndDelete-hint-clientError.yml │ │ │ │ │ ├── findOneAndDelete-hint-serverError.json │ │ │ │ │ ├── findOneAndDelete-hint-serverError.yml │ │ │ │ │ ├── findOneAndDelete-hint-unacknowledged.json │ │ │ │ │ ├── findOneAndDelete-hint-unacknowledged.yml │ │ │ │ │ ├── findOneAndDelete-hint.json │ │ │ │ │ ├── findOneAndDelete-hint.yml │ │ │ │ │ ├── findOneAndDelete-let.json │ │ │ │ │ ├── findOneAndDelete-let.yml │ │ │ │ │ ├── findOneAndDelete.json │ │ │ │ │ ├── findOneAndDelete.yml │ │ │ │ │ ├── findOneAndReplace-collation.json │ │ │ │ │ ├── findOneAndReplace-collation.yml │ │ │ │ │ ├── findOneAndReplace-comment.json │ │ │ │ │ ├── findOneAndReplace-comment.yml │ │ │ │ │ ├── findOneAndReplace-dots_and_dollars.json │ │ │ │ │ ├── findOneAndReplace-dots_and_dollars.yml │ │ │ │ │ ├── findOneAndReplace-hint-clientError.json │ │ │ │ │ ├── findOneAndReplace-hint-clientError.yml │ │ │ │ │ ├── findOneAndReplace-hint-serverError.json │ │ │ │ │ ├── findOneAndReplace-hint-serverError.yml │ │ │ │ │ ├── findOneAndReplace-hint-unacknowledged.json │ │ │ │ │ ├── findOneAndReplace-hint-unacknowledged.yml │ │ │ │ │ ├── findOneAndReplace-hint.json │ │ │ │ │ ├── findOneAndReplace-hint.yml │ │ │ │ │ ├── findOneAndReplace-let.json │ │ │ │ │ ├── findOneAndReplace-let.yml │ │ │ │ │ ├── findOneAndReplace-upsert.json │ │ │ │ │ ├── findOneAndReplace-upsert.yml │ │ │ │ │ ├── findOneAndReplace.json │ │ │ │ │ ├── findOneAndReplace.yml │ │ │ │ │ ├── findOneAndUpdate-arrayFilters.json │ │ │ │ │ ├── findOneAndUpdate-arrayFilters.yml │ │ │ │ │ ├── findOneAndUpdate-collation.json │ │ │ │ │ ├── findOneAndUpdate-collation.yml │ │ │ │ │ ├── findOneAndUpdate-comment.json │ │ │ │ │ ├── findOneAndUpdate-comment.yml │ │ │ │ │ ├── findOneAndUpdate-dots_and_dollars.json │ │ │ │ │ ├── findOneAndUpdate-dots_and_dollars.yml │ │ │ │ │ ├── findOneAndUpdate-errorResponse.json │ │ │ │ │ ├── findOneAndUpdate-errorResponse.yml │ │ │ │ │ ├── findOneAndUpdate-hint-clientError.json │ │ │ │ │ ├── findOneAndUpdate-hint-clientError.yml │ │ │ │ │ ├── findOneAndUpdate-hint-serverError.json │ │ │ │ │ ├── findOneAndUpdate-hint-serverError.yml │ │ │ │ │ ├── findOneAndUpdate-hint-unacknowledged.json │ │ │ │ │ ├── findOneAndUpdate-hint-unacknowledged.yml │ │ │ │ │ ├── findOneAndUpdate-hint.json │ │ │ │ │ ├── findOneAndUpdate-hint.yml │ │ │ │ │ ├── findOneAndUpdate-let.json │ │ │ │ │ ├── findOneAndUpdate-let.yml │ │ │ │ │ ├── findOneAndUpdate-pipeline.json │ │ │ │ │ ├── findOneAndUpdate-pipeline.yml │ │ │ │ │ ├── findOneAndUpdate.json │ │ │ │ │ ├── findOneAndUpdate.yml │ │ │ │ │ ├── insertMany-comment.json │ │ │ │ │ ├── insertMany-comment.yml │ │ │ │ │ ├── insertMany-dots_and_dollars.json │ │ │ │ │ ├── insertMany-dots_and_dollars.yml │ │ │ │ │ ├── insertMany.json │ │ │ │ │ ├── insertMany.yml │ │ │ │ │ ├── insertOne-comment.json │ │ │ │ │ ├── insertOne-comment.yml │ │ │ │ │ ├── insertOne-dots_and_dollars.json │ │ │ │ │ ├── insertOne-dots_and_dollars.yml │ │ │ │ │ ├── insertOne-errorResponse.json │ │ │ │ │ ├── insertOne-errorResponse.yml │ │ │ │ │ ├── insertOne.json │ │ │ │ │ ├── insertOne.yml │ │ │ │ │ ├── replaceOne-collation.json │ │ │ │ │ ├── replaceOne-collation.yml │ │ │ │ │ ├── replaceOne-comment.json │ │ │ │ │ ├── replaceOne-comment.yml │ │ │ │ │ ├── replaceOne-dots_and_dollars.json │ │ │ │ │ ├── replaceOne-dots_and_dollars.yml │ │ │ │ │ ├── replaceOne-hint-unacknowledged.json │ │ │ │ │ ├── replaceOne-hint-unacknowledged.yml │ │ │ │ │ ├── replaceOne-hint.json │ │ │ │ │ ├── replaceOne-hint.yml │ │ │ │ │ ├── replaceOne-let.json │ │ │ │ │ ├── replaceOne-let.yml │ │ │ │ │ ├── replaceOne-sort.json │ │ │ │ │ ├── replaceOne-sort.yml │ │ │ │ │ ├── replaceOne-validation.json │ │ │ │ │ ├── replaceOne-validation.yml │ │ │ │ │ ├── replaceOne.json │ │ │ │ │ ├── replaceOne.yml │ │ │ │ │ ├── updateMany-arrayFilters.json │ │ │ │ │ ├── updateMany-arrayFilters.yml │ │ │ │ │ ├── updateMany-collation.json │ │ │ │ │ ├── updateMany-collation.yml │ │ │ │ │ ├── updateMany-comment.json │ │ │ │ │ ├── updateMany-comment.yml │ │ │ │ │ ├── updateMany-dots_and_dollars.json │ │ │ │ │ ├── updateMany-dots_and_dollars.yml │ │ │ │ │ ├── updateMany-hint-clientError.json │ │ │ │ │ ├── updateMany-hint-clientError.yml │ │ │ │ │ ├── updateMany-hint-serverError.json │ │ │ │ │ ├── updateMany-hint-serverError.yml │ │ │ │ │ ├── updateMany-hint-unacknowledged.json │ │ │ │ │ ├── updateMany-hint-unacknowledged.yml │ │ │ │ │ ├── updateMany-hint.json │ │ │ │ │ ├── updateMany-hint.yml │ │ │ │ │ ├── updateMany-let.json │ │ │ │ │ ├── updateMany-let.yml │ │ │ │ │ ├── updateMany-pipeline.json │ │ │ │ │ ├── updateMany-pipeline.yml │ │ │ │ │ ├── updateMany-validation.json │ │ │ │ │ ├── updateMany-validation.yml │ │ │ │ │ ├── updateMany.json │ │ │ │ │ ├── updateMany.yml │ │ │ │ │ ├── updateOne-arrayFilters.json │ │ │ │ │ ├── updateOne-arrayFilters.yml │ │ │ │ │ ├── updateOne-collation.json │ │ │ │ │ ├── updateOne-collation.yml │ │ │ │ │ ├── updateOne-comment.json │ │ │ │ │ ├── updateOne-comment.yml │ │ │ │ │ ├── updateOne-dots_and_dollars.json │ │ │ │ │ ├── updateOne-dots_and_dollars.yml │ │ │ │ │ ├── updateOne-errorResponse.json │ │ │ │ │ ├── updateOne-errorResponse.yml │ │ │ │ │ ├── updateOne-hint-clientError.json │ │ │ │ │ ├── updateOne-hint-clientError.yml │ │ │ │ │ ├── updateOne-hint-serverError.json │ │ │ │ │ ├── updateOne-hint-serverError.yml │ │ │ │ │ ├── updateOne-hint-unacknowledged.json │ │ │ │ │ ├── updateOne-hint-unacknowledged.yml │ │ │ │ │ ├── updateOne-hint.json │ │ │ │ │ ├── updateOne-hint.yml │ │ │ │ │ ├── updateOne-let.json │ │ │ │ │ ├── updateOne-let.yml │ │ │ │ │ ├── updateOne-pipeline.json │ │ │ │ │ ├── updateOne-pipeline.yml │ │ │ │ │ ├── updateOne-sort.json │ │ │ │ │ ├── updateOne-sort.yml │ │ │ │ │ ├── updateOne-validation.json │ │ │ │ │ ├── updateOne-validation.yml │ │ │ │ │ ├── updateOne.json │ │ │ │ │ └── updateOne.yml │ │ │ ├── gridfs │ │ │ │ ├── README.md │ │ │ │ ├── delete.json │ │ │ │ ├── delete.yml │ │ │ │ ├── deleteByName.json │ │ │ │ ├── deleteByName.yml │ │ │ │ ├── download.json │ │ │ │ ├── download.yml │ │ │ │ ├── downloadByName.json │ │ │ │ ├── downloadByName.yml │ │ │ │ ├── rename.json │ │ │ │ ├── rename.yml │ │ │ │ ├── renameByName.json │ │ │ │ ├── renameByName.yml │ │ │ │ ├── upload-disableMD5.json │ │ │ │ ├── upload-disableMD5.yml │ │ │ │ ├── upload.json │ │ │ │ └── upload.yml │ │ │ ├── index-management │ │ │ │ ├── README.md │ │ │ │ ├── createSearchIndex.json │ │ │ │ ├── createSearchIndex.yml │ │ │ │ ├── createSearchIndexes.json │ │ │ │ ├── createSearchIndexes.yml │ │ │ │ ├── dropSearchIndex.json │ │ │ │ ├── dropSearchIndex.yml │ │ │ │ ├── listSearchIndexes.json │ │ │ │ ├── listSearchIndexes.yml │ │ │ │ ├── searchIndexIgnoresReadWriteConcern.json │ │ │ │ ├── searchIndexIgnoresReadWriteConcern.yml │ │ │ │ ├── updateSearchIndex.json │ │ │ │ └── updateSearchIndex.yml │ │ │ ├── initial-dns-seedlist-discovery │ │ │ │ ├── README.md │ │ │ │ ├── load-balanced │ │ │ │ │ ├── loadBalanced-directConnection.json │ │ │ │ │ ├── loadBalanced-directConnection.yml │ │ │ │ │ ├── loadBalanced-no-results.json │ │ │ │ │ ├── loadBalanced-no-results.yml │ │ │ │ │ ├── loadBalanced-replicaSet-errors.json │ │ │ │ │ ├── loadBalanced-replicaSet-errors.yml │ │ │ │ │ ├── loadBalanced-true-multiple-hosts.json │ │ │ │ │ ├── loadBalanced-true-multiple-hosts.yml │ │ │ │ │ ├── loadBalanced-true-txt.json │ │ │ │ │ ├── loadBalanced-true-txt.yml │ │ │ │ │ ├── srvMaxHosts-conflicts_with_loadBalanced-true-txt.json │ │ │ │ │ ├── srvMaxHosts-conflicts_with_loadBalanced-true-txt.yml │ │ │ │ │ ├── srvMaxHosts-conflicts_with_loadBalanced-true.json │ │ │ │ │ ├── srvMaxHosts-conflicts_with_loadBalanced-true.yml │ │ │ │ │ ├── srvMaxHosts-zero-txt.json │ │ │ │ │ ├── srvMaxHosts-zero-txt.yml │ │ │ │ │ ├── srvMaxHosts-zero.json │ │ │ │ │ └── srvMaxHosts-zero.yml │ │ │ │ ├── replica-set │ │ │ │ │ ├── dbname-with-commas-escaped.json │ │ │ │ │ ├── dbname-with-commas-escaped.yml │ │ │ │ │ ├── dbname-with-commas.json │ │ │ │ │ ├── dbname-with-commas.yml │ │ │ │ │ ├── direct-connection-false.json │ │ │ │ │ ├── direct-connection-false.yml │ │ │ │ │ ├── direct-connection-true.json │ │ │ │ │ ├── direct-connection-true.yml │ │ │ │ │ ├── encoded-userinfo-and-db.json │ │ │ │ │ ├── encoded-userinfo-and-db.yml │ │ │ │ │ ├── loadBalanced-false-txt.json │ │ │ │ │ ├── loadBalanced-false-txt.yml │ │ │ │ │ ├── longer-parent-in-return.json │ │ │ │ │ ├── longer-parent-in-return.yml │ │ │ │ │ ├── misformatted-option.json │ │ │ │ │ ├── misformatted-option.yml │ │ │ │ │ ├── no-results.json │ │ │ │ │ ├── no-results.yml │ │ │ │ │ ├── not-enough-parts.json │ │ │ │ │ ├── not-enough-parts.yml │ │ │ │ │ ├── one-result-default-port.json │ │ │ │ │ ├── one-result-default-port.yml │ │ │ │ │ ├── one-txt-record-multiple-strings.json │ │ │ │ │ ├── one-txt-record-multiple-strings.yml │ │ │ │ │ ├── one-txt-record.json │ │ │ │ │ ├── one-txt-record.yml │ │ │ │ │ ├── parent-part-mismatch1.json │ │ │ │ │ ├── parent-part-mismatch1.yml │ │ │ │ │ ├── parent-part-mismatch2.json │ │ │ │ │ ├── parent-part-mismatch2.yml │ │ │ │ │ ├── parent-part-mismatch3.json │ │ │ │ │ ├── parent-part-mismatch3.yml │ │ │ │ │ ├── parent-part-mismatch4.json │ │ │ │ │ ├── parent-part-mismatch4.yml │ │ │ │ │ ├── parent-part-mismatch5.json │ │ │ │ │ ├── parent-part-mismatch5.yml │ │ │ │ │ ├── returned-parent-too-short.json │ │ │ │ │ ├── returned-parent-too-short.yml │ │ │ │ │ ├── returned-parent-wrong.json │ │ │ │ │ ├── returned-parent-wrong.yml │ │ │ │ │ ├── srv-service-name.json │ │ │ │ │ ├── srv-service-name.yml │ │ │ │ │ ├── srvMaxHosts-conflicts_with_replicaSet-txt.json │ │ │ │ │ ├── srvMaxHosts-conflicts_with_replicaSet-txt.yml │ │ │ │ │ ├── srvMaxHosts-conflicts_with_replicaSet.json │ │ │ │ │ ├── srvMaxHosts-conflicts_with_replicaSet.yml │ │ │ │ │ ├── srvMaxHosts-equal_to_srv_records.json │ │ │ │ │ ├── srvMaxHosts-equal_to_srv_records.yml │ │ │ │ │ ├── srvMaxHosts-greater_than_srv_records.json │ │ │ │ │ ├── srvMaxHosts-greater_than_srv_records.yml │ │ │ │ │ ├── srvMaxHosts-less_than_srv_records.json │ │ │ │ │ ├── srvMaxHosts-less_than_srv_records.yml │ │ │ │ │ ├── srvMaxHosts-zero-txt.json │ │ │ │ │ ├── srvMaxHosts-zero-txt.yml │ │ │ │ │ ├── srvMaxHosts-zero.json │ │ │ │ │ ├── srvMaxHosts-zero.yml │ │ │ │ │ ├── two-results-default-port.json │ │ │ │ │ ├── two-results-default-port.yml │ │ │ │ │ ├── two-results-nonstandard-port.json │ │ │ │ │ ├── two-results-nonstandard-port.yml │ │ │ │ │ ├── two-txt-records.json │ │ │ │ │ ├── two-txt-records.yml │ │ │ │ │ ├── txt-record-not-allowed-option.json │ │ │ │ │ ├── txt-record-not-allowed-option.yml │ │ │ │ │ ├── txt-record-with-overridden-ssl-option.json │ │ │ │ │ ├── txt-record-with-overridden-ssl-option.yml │ │ │ │ │ ├── txt-record-with-overridden-uri-option.json │ │ │ │ │ ├── txt-record-with-overridden-uri-option.yml │ │ │ │ │ ├── txt-record-with-unallowed-option.json │ │ │ │ │ ├── txt-record-with-unallowed-option.yml │ │ │ │ │ ├── uri-with-admin-database.json │ │ │ │ │ ├── uri-with-admin-database.yml │ │ │ │ │ ├── uri-with-auth.json │ │ │ │ │ ├── uri-with-auth.yml │ │ │ │ │ ├── uri-with-port.json │ │ │ │ │ ├── uri-with-port.yml │ │ │ │ │ ├── uri-with-two-hosts.json │ │ │ │ │ └── uri-with-two-hosts.yml │ │ │ │ └── sharded │ │ │ │ │ ├── srvMaxHosts-equal_to_srv_records.json │ │ │ │ │ ├── srvMaxHosts-equal_to_srv_records.yml │ │ │ │ │ ├── srvMaxHosts-greater_than_srv_records.json │ │ │ │ │ ├── srvMaxHosts-greater_than_srv_records.yml │ │ │ │ │ ├── srvMaxHosts-less_than_srv_records.json │ │ │ │ │ ├── srvMaxHosts-less_than_srv_records.yml │ │ │ │ │ ├── srvMaxHosts-zero.json │ │ │ │ │ └── srvMaxHosts-zero.yml │ │ │ ├── load-balancers │ │ │ │ ├── README.rst │ │ │ │ ├── cursors.json │ │ │ │ ├── cursors.yml │ │ │ │ ├── event-monitoring.json │ │ │ │ ├── event-monitoring.yml │ │ │ │ ├── lb-connection-establishment.json │ │ │ │ ├── lb-connection-establishment.yml │ │ │ │ ├── non-lb-connection-establishment.json │ │ │ │ ├── non-lb-connection-establishment.yml │ │ │ │ ├── sdam-error-handling.json │ │ │ │ ├── sdam-error-handling.yml │ │ │ │ ├── server-selection.json │ │ │ │ ├── server-selection.yml │ │ │ │ ├── transactions.json │ │ │ │ ├── transactions.yml │ │ │ │ ├── wait-queue-timeouts.json │ │ │ │ └── wait-queue-timeouts.yml │ │ │ ├── max-staleness │ │ │ │ ├── README.rst │ │ │ │ ├── ReplicaSetNoPrimary │ │ │ │ │ ├── DefaultNoMaxStaleness.json │ │ │ │ │ ├── DefaultNoMaxStaleness.yml │ │ │ │ │ ├── LastUpdateTime.json │ │ │ │ │ ├── LastUpdateTime.yml │ │ │ │ │ ├── MaxStalenessTooSmall.json │ │ │ │ │ ├── MaxStalenessTooSmall.yml │ │ │ │ │ ├── Nearest.json │ │ │ │ │ ├── Nearest.yml │ │ │ │ │ ├── Nearest2.json │ │ │ │ │ ├── Nearest2.yml │ │ │ │ │ ├── NoKnownServers.json │ │ │ │ │ ├── NoKnownServers.yml │ │ │ │ │ ├── OneKnownTwoUnavailable.json │ │ │ │ │ ├── OneKnownTwoUnavailable.yml │ │ │ │ │ ├── PrimaryPreferred.json │ │ │ │ │ ├── PrimaryPreferred.yml │ │ │ │ │ ├── PrimaryPreferred_tags.json │ │ │ │ │ ├── PrimaryPreferred_tags.yml │ │ │ │ │ ├── Secondary.json │ │ │ │ │ ├── Secondary.yml │ │ │ │ │ ├── SecondaryPreferred.json │ │ │ │ │ ├── SecondaryPreferred.yml │ │ │ │ │ ├── SecondaryPreferred_tags.json │ │ │ │ │ ├── SecondaryPreferred_tags.yml │ │ │ │ │ ├── ZeroMaxStaleness.json │ │ │ │ │ └── ZeroMaxStaleness.yml │ │ │ │ ├── ReplicaSetWithPrimary │ │ │ │ │ ├── DefaultNoMaxStaleness.json │ │ │ │ │ ├── DefaultNoMaxStaleness.yml │ │ │ │ │ ├── LastUpdateTime.json │ │ │ │ │ ├── LastUpdateTime.yml │ │ │ │ │ ├── LongHeartbeat.json │ │ │ │ │ ├── LongHeartbeat.yml │ │ │ │ │ ├── LongHeartbeat2.json │ │ │ │ │ ├── LongHeartbeat2.yml │ │ │ │ │ ├── MaxStalenessTooSmall.json │ │ │ │ │ ├── MaxStalenessTooSmall.yml │ │ │ │ │ ├── MaxStalenessWithModePrimary.json │ │ │ │ │ ├── MaxStalenessWithModePrimary.yml │ │ │ │ │ ├── Nearest.json │ │ │ │ │ ├── Nearest.yml │ │ │ │ │ ├── Nearest2.json │ │ │ │ │ ├── Nearest2.yml │ │ │ │ │ ├── Nearest_tags.json │ │ │ │ │ ├── Nearest_tags.yml │ │ │ │ │ ├── PrimaryPreferred.json │ │ │ │ │ ├── PrimaryPreferred.yml │ │ │ │ │ ├── SecondaryPreferred.json │ │ │ │ │ ├── SecondaryPreferred.yml │ │ │ │ │ ├── SecondaryPreferred_tags.json │ │ │ │ │ ├── SecondaryPreferred_tags.yml │ │ │ │ │ ├── SecondaryPreferred_tags2.json │ │ │ │ │ ├── SecondaryPreferred_tags2.yml │ │ │ │ │ ├── Secondary_tags.json │ │ │ │ │ ├── Secondary_tags.yml │ │ │ │ │ ├── Secondary_tags2.json │ │ │ │ │ ├── Secondary_tags2.yml │ │ │ │ │ ├── ZeroMaxStaleness.json │ │ │ │ │ └── ZeroMaxStaleness.yml │ │ │ │ ├── Sharded │ │ │ │ │ ├── SmallMaxStaleness.json │ │ │ │ │ └── SmallMaxStaleness.yml │ │ │ │ ├── Single │ │ │ │ │ ├── SmallMaxStaleness.json │ │ │ │ │ └── SmallMaxStaleness.yml │ │ │ │ └── Unknown │ │ │ │ │ ├── SmallMaxStaleness.json │ │ │ │ │ └── SmallMaxStaleness.yml │ │ │ ├── read-write-concern │ │ │ │ ├── README.rst │ │ │ │ ├── connection-string │ │ │ │ │ ├── read-concern.json │ │ │ │ │ ├── read-concern.yml │ │ │ │ │ ├── write-concern.json │ │ │ │ │ └── write-concern.yml │ │ │ │ ├── document │ │ │ │ │ ├── read-concern.json │ │ │ │ │ ├── read-concern.yml │ │ │ │ │ ├── write-concern.json │ │ │ │ │ └── write-concern.yml │ │ │ │ └── operation │ │ │ │ │ ├── default-write-concern-2.6.json │ │ │ │ │ ├── default-write-concern-2.6.yml │ │ │ │ │ ├── default-write-concern-3.2.json │ │ │ │ │ ├── default-write-concern-3.2.yml │ │ │ │ │ ├── default-write-concern-3.4.json │ │ │ │ │ ├── default-write-concern-3.4.yml │ │ │ │ │ ├── default-write-concern-4.2.json │ │ │ │ │ └── default-write-concern-4.2.yml │ │ │ ├── retryable-reads │ │ │ │ ├── README.md │ │ │ │ ├── etc │ │ │ │ │ └── templates │ │ │ │ │ │ └── handshakeError.yml.template │ │ │ │ └── unified │ │ │ │ │ ├── aggregate-merge.json │ │ │ │ │ ├── aggregate-merge.yml │ │ │ │ │ ├── aggregate-serverErrors.json │ │ │ │ │ ├── aggregate-serverErrors.yml │ │ │ │ │ ├── aggregate.json │ │ │ │ │ ├── aggregate.yml │ │ │ │ │ ├── changeStreams-client.watch-serverErrors.json │ │ │ │ │ ├── changeStreams-client.watch-serverErrors.yml │ │ │ │ │ ├── changeStreams-client.watch.json │ │ │ │ │ ├── changeStreams-client.watch.yml │ │ │ │ │ ├── changeStreams-db.coll.watch-serverErrors.json │ │ │ │ │ ├── changeStreams-db.coll.watch-serverErrors.yml │ │ │ │ │ ├── changeStreams-db.coll.watch.json │ │ │ │ │ ├── changeStreams-db.coll.watch.yml │ │ │ │ │ ├── changeStreams-db.watch-serverErrors.json │ │ │ │ │ ├── changeStreams-db.watch-serverErrors.yml │ │ │ │ │ ├── changeStreams-db.watch.json │ │ │ │ │ ├── changeStreams-db.watch.yml │ │ │ │ │ ├── count-serverErrors.json │ │ │ │ │ ├── count-serverErrors.yml │ │ │ │ │ ├── count.json │ │ │ │ │ ├── count.yml │ │ │ │ │ ├── countDocuments-serverErrors.json │ │ │ │ │ ├── countDocuments-serverErrors.yml │ │ │ │ │ ├── countDocuments.json │ │ │ │ │ ├── countDocuments.yml │ │ │ │ │ ├── distinct-serverErrors.json │ │ │ │ │ ├── distinct-serverErrors.yml │ │ │ │ │ ├── distinct.json │ │ │ │ │ ├── distinct.yml │ │ │ │ │ ├── estimatedDocumentCount-serverErrors.json │ │ │ │ │ ├── estimatedDocumentCount-serverErrors.yml │ │ │ │ │ ├── estimatedDocumentCount.json │ │ │ │ │ ├── estimatedDocumentCount.yml │ │ │ │ │ ├── exceededTimeLimit.json │ │ │ │ │ ├── exceededTimeLimit.yml │ │ │ │ │ ├── find-serverErrors.json │ │ │ │ │ ├── find-serverErrors.yml │ │ │ │ │ ├── find.json │ │ │ │ │ ├── find.yml │ │ │ │ │ ├── findOne-serverErrors.json │ │ │ │ │ ├── findOne-serverErrors.yml │ │ │ │ │ ├── findOne.json │ │ │ │ │ ├── findOne.yml │ │ │ │ │ ├── gridfs-download-serverErrors.json │ │ │ │ │ ├── gridfs-download-serverErrors.yml │ │ │ │ │ ├── gridfs-download.json │ │ │ │ │ ├── gridfs-download.yml │ │ │ │ │ ├── gridfs-downloadByName-serverErrors.json │ │ │ │ │ ├── gridfs-downloadByName-serverErrors.yml │ │ │ │ │ ├── gridfs-downloadByName.json │ │ │ │ │ ├── gridfs-downloadByName.yml │ │ │ │ │ ├── handshakeError.json │ │ │ │ │ ├── handshakeError.yml │ │ │ │ │ ├── listCollectionNames-serverErrors.json │ │ │ │ │ ├── listCollectionNames-serverErrors.yml │ │ │ │ │ ├── listCollectionNames.json │ │ │ │ │ ├── listCollectionNames.yml │ │ │ │ │ ├── listCollectionObjects-serverErrors.json │ │ │ │ │ ├── listCollectionObjects-serverErrors.yml │ │ │ │ │ ├── listCollectionObjects.json │ │ │ │ │ ├── listCollectionObjects.yml │ │ │ │ │ ├── listCollections-serverErrors.json │ │ │ │ │ ├── listCollections-serverErrors.yml │ │ │ │ │ ├── listCollections.json │ │ │ │ │ ├── listCollections.yml │ │ │ │ │ ├── listDatabaseNames-serverErrors.json │ │ │ │ │ ├── listDatabaseNames-serverErrors.yml │ │ │ │ │ ├── listDatabaseNames.json │ │ │ │ │ ├── listDatabaseNames.yml │ │ │ │ │ ├── listDatabaseObjects-serverErrors.json │ │ │ │ │ ├── listDatabaseObjects-serverErrors.yml │ │ │ │ │ ├── listDatabaseObjects.json │ │ │ │ │ ├── listDatabaseObjects.yml │ │ │ │ │ ├── listDatabases-serverErrors.json │ │ │ │ │ ├── listDatabases-serverErrors.yml │ │ │ │ │ ├── listDatabases.json │ │ │ │ │ ├── listDatabases.yml │ │ │ │ │ ├── listIndexNames-serverErrors.json │ │ │ │ │ ├── listIndexNames-serverErrors.yml │ │ │ │ │ ├── listIndexNames.json │ │ │ │ │ ├── listIndexNames.yml │ │ │ │ │ ├── listIndexes-serverErrors.json │ │ │ │ │ ├── listIndexes-serverErrors.yml │ │ │ │ │ ├── listIndexes.json │ │ │ │ │ ├── listIndexes.yml │ │ │ │ │ ├── mapReduce.json │ │ │ │ │ ├── mapReduce.yml │ │ │ │ │ ├── readConcernMajorityNotAvailableYet.json │ │ │ │ │ └── readConcernMajorityNotAvailableYet.yml │ │ │ ├── retryable-writes │ │ │ │ ├── README.md │ │ │ │ ├── etc │ │ │ │ │ └── templates │ │ │ │ │ │ └── handshakeError.yml.template │ │ │ │ └── unified │ │ │ │ │ ├── aggregate-out-merge.json │ │ │ │ │ ├── aggregate-out-merge.yml │ │ │ │ │ ├── bulkWrite-errorLabels.json │ │ │ │ │ ├── bulkWrite-errorLabels.yml │ │ │ │ │ ├── bulkWrite-serverErrors.json │ │ │ │ │ ├── bulkWrite-serverErrors.yml │ │ │ │ │ ├── bulkWrite.json │ │ │ │ │ ├── bulkWrite.yml │ │ │ │ │ ├── client-bulkWrite-clientErrors.json │ │ │ │ │ ├── client-bulkWrite-clientErrors.yml │ │ │ │ │ ├── client-bulkWrite-serverErrors.json │ │ │ │ │ ├── client-bulkWrite-serverErrors.yml │ │ │ │ │ ├── deleteMany.json │ │ │ │ │ ├── deleteMany.yml │ │ │ │ │ ├── deleteOne-errorLabels.json │ │ │ │ │ ├── deleteOne-errorLabels.yml │ │ │ │ │ ├── deleteOne-serverErrors.json │ │ │ │ │ ├── deleteOne-serverErrors.yml │ │ │ │ │ ├── deleteOne.json │ │ │ │ │ ├── deleteOne.yml │ │ │ │ │ ├── findOneAndDelete-errorLabels.json │ │ │ │ │ ├── findOneAndDelete-errorLabels.yml │ │ │ │ │ ├── findOneAndDelete-serverErrors.json │ │ │ │ │ ├── findOneAndDelete-serverErrors.yml │ │ │ │ │ ├── findOneAndDelete.json │ │ │ │ │ ├── findOneAndDelete.yml │ │ │ │ │ ├── findOneAndReplace-errorLabels.json │ │ │ │ │ ├── findOneAndReplace-errorLabels.yml │ │ │ │ │ ├── findOneAndReplace-serverErrors.json │ │ │ │ │ ├── findOneAndReplace-serverErrors.yml │ │ │ │ │ ├── findOneAndReplace.json │ │ │ │ │ ├── findOneAndReplace.yml │ │ │ │ │ ├── findOneAndUpdate-errorLabels.json │ │ │ │ │ ├── findOneAndUpdate-errorLabels.yml │ │ │ │ │ ├── findOneAndUpdate-serverErrors.json │ │ │ │ │ ├── findOneAndUpdate-serverErrors.yml │ │ │ │ │ ├── findOneAndUpdate.json │ │ │ │ │ ├── findOneAndUpdate.yml │ │ │ │ │ ├── handshakeError.json │ │ │ │ │ ├── handshakeError.yml │ │ │ │ │ ├── insertMany-errorLabels.json │ │ │ │ │ ├── insertMany-errorLabels.yml │ │ │ │ │ ├── insertMany-serverErrors.json │ │ │ │ │ ├── insertMany-serverErrors.yml │ │ │ │ │ ├── insertMany.json │ │ │ │ │ ├── insertMany.yml │ │ │ │ │ ├── insertOne-errorLabels.json │ │ │ │ │ ├── insertOne-errorLabels.yml │ │ │ │ │ ├── insertOne-noWritesPerformedError.json │ │ │ │ │ ├── insertOne-noWritesPerformedError.yml │ │ │ │ │ ├── insertOne-serverErrors.json │ │ │ │ │ ├── insertOne-serverErrors.yml │ │ │ │ │ ├── insertOne.json │ │ │ │ │ ├── insertOne.yml │ │ │ │ │ ├── replaceOne-errorLabels.json │ │ │ │ │ ├── replaceOne-errorLabels.yml │ │ │ │ │ ├── replaceOne-serverErrors.json │ │ │ │ │ ├── replaceOne-serverErrors.yml │ │ │ │ │ ├── replaceOne.json │ │ │ │ │ ├── replaceOne.yml │ │ │ │ │ ├── unacknowledged-write-concern.json │ │ │ │ │ ├── unacknowledged-write-concern.yml │ │ │ │ │ ├── updateMany.json │ │ │ │ │ ├── updateMany.yml │ │ │ │ │ ├── updateOne-errorLabels.json │ │ │ │ │ ├── updateOne-errorLabels.yml │ │ │ │ │ ├── updateOne-serverErrors.json │ │ │ │ │ ├── updateOne-serverErrors.yml │ │ │ │ │ ├── updateOne.json │ │ │ │ │ └── updateOne.yml │ │ │ ├── run-command │ │ │ │ ├── README.rst │ │ │ │ └── unified │ │ │ │ │ ├── runCommand.json │ │ │ │ │ ├── runCommand.yml │ │ │ │ │ ├── runCursorCommand.json │ │ │ │ │ └── runCursorCommand.yml │ │ │ ├── server-discovery-and-monitoring │ │ │ │ ├── README.md │ │ │ │ ├── README.rst │ │ │ │ ├── errors │ │ │ │ │ ├── error_handling_handshake.json │ │ │ │ │ ├── error_handling_handshake.yml │ │ │ │ │ ├── generate-error-tests.py │ │ │ │ │ ├── non-stale-network-error.json │ │ │ │ │ ├── non-stale-network-error.yml │ │ │ │ │ ├── non-stale-network-timeout-error.json │ │ │ │ │ ├── non-stale-network-timeout-error.yml │ │ │ │ │ ├── non-stale-topologyVersion-greater-InterruptedAtShutdown.json │ │ │ │ │ ├── non-stale-topologyVersion-greater-InterruptedAtShutdown.yml │ │ │ │ │ ├── non-stale-topologyVersion-greater-InterruptedDueToReplStateChange.json │ │ │ │ │ ├── non-stale-topologyVersion-greater-InterruptedDueToReplStateChange.yml │ │ │ │ │ ├── non-stale-topologyVersion-greater-LegacyNotPrimary.json │ │ │ │ │ ├── non-stale-topologyVersion-greater-LegacyNotPrimary.yml │ │ │ │ │ ├── non-stale-topologyVersion-greater-NotPrimaryNoSecondaryOk.json │ │ │ │ │ ├── non-stale-topologyVersion-greater-NotPrimaryNoSecondaryOk.yml │ │ │ │ │ ├── non-stale-topologyVersion-greater-NotPrimaryOrSecondary.json │ │ │ │ │ ├── non-stale-topologyVersion-greater-NotPrimaryOrSecondary.yml │ │ │ │ │ ├── non-stale-topologyVersion-greater-NotWritablePrimary.json │ │ │ │ │ ├── non-stale-topologyVersion-greater-NotWritablePrimary.yml │ │ │ │ │ ├── non-stale-topologyVersion-greater-PrimarySteppedDown.json │ │ │ │ │ ├── non-stale-topologyVersion-greater-PrimarySteppedDown.yml │ │ │ │ │ ├── non-stale-topologyVersion-greater-ShutdownInProgress.json │ │ │ │ │ ├── non-stale-topologyVersion-greater-ShutdownInProgress.yml │ │ │ │ │ ├── non-stale-topologyVersion-missing-InterruptedAtShutdown.json │ │ │ │ │ ├── non-stale-topologyVersion-missing-InterruptedAtShutdown.yml │ │ │ │ │ ├── non-stale-topologyVersion-missing-InterruptedDueToReplStateChange.json │ │ │ │ │ ├── non-stale-topologyVersion-missing-InterruptedDueToReplStateChange.yml │ │ │ │ │ ├── non-stale-topologyVersion-missing-LegacyNotPrimary.json │ │ │ │ │ ├── non-stale-topologyVersion-missing-LegacyNotPrimary.yml │ │ │ │ │ ├── non-stale-topologyVersion-missing-NotPrimaryNoSecondaryOk.json │ │ │ │ │ ├── non-stale-topologyVersion-missing-NotPrimaryNoSecondaryOk.yml │ │ │ │ │ ├── non-stale-topologyVersion-missing-NotPrimaryOrSecondary.json │ │ │ │ │ ├── non-stale-topologyVersion-missing-NotPrimaryOrSecondary.yml │ │ │ │ │ ├── non-stale-topologyVersion-missing-NotWritablePrimary.json │ │ │ │ │ ├── non-stale-topologyVersion-missing-NotWritablePrimary.yml │ │ │ │ │ ├── non-stale-topologyVersion-missing-PrimarySteppedDown.json │ │ │ │ │ ├── non-stale-topologyVersion-missing-PrimarySteppedDown.yml │ │ │ │ │ ├── non-stale-topologyVersion-missing-ShutdownInProgress.json │ │ │ │ │ ├── non-stale-topologyVersion-missing-ShutdownInProgress.yml │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-InterruptedAtShutdown.json │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-InterruptedAtShutdown.yml │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-InterruptedDueToReplStateChange.json │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-InterruptedDueToReplStateChange.yml │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-LegacyNotPrimary.json │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-LegacyNotPrimary.yml │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-NotPrimaryNoSecondaryOk.json │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-NotPrimaryNoSecondaryOk.yml │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-NotPrimaryOrSecondary.json │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-NotPrimaryOrSecondary.yml │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-NotWritablePrimary.json │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-NotWritablePrimary.yml │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-PrimarySteppedDown.json │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-PrimarySteppedDown.yml │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-ShutdownInProgress.json │ │ │ │ │ ├── non-stale-topologyVersion-proccessId-changed-ShutdownInProgress.yml │ │ │ │ │ ├── non-stale-topologyVersion.yml.template │ │ │ │ │ ├── post-42-InterruptedAtShutdown.json │ │ │ │ │ ├── post-42-InterruptedAtShutdown.yml │ │ │ │ │ ├── post-42-InterruptedDueToReplStateChange.json │ │ │ │ │ ├── post-42-InterruptedDueToReplStateChange.yml │ │ │ │ │ ├── post-42-LegacyNotPrimary.json │ │ │ │ │ ├── post-42-LegacyNotPrimary.yml │ │ │ │ │ ├── post-42-NotPrimaryNoSecondaryOk.json │ │ │ │ │ ├── post-42-NotPrimaryNoSecondaryOk.yml │ │ │ │ │ ├── post-42-NotPrimaryOrSecondary.json │ │ │ │ │ ├── post-42-NotPrimaryOrSecondary.yml │ │ │ │ │ ├── post-42-NotWritablePrimary.json │ │ │ │ │ ├── post-42-NotWritablePrimary.yml │ │ │ │ │ ├── post-42-PrimarySteppedDown.json │ │ │ │ │ ├── post-42-PrimarySteppedDown.yml │ │ │ │ │ ├── post-42-ShutdownInProgress.json │ │ │ │ │ ├── post-42-ShutdownInProgress.yml │ │ │ │ │ ├── post-42.yml.template │ │ │ │ │ ├── pre-42-InterruptedAtShutdown.json │ │ │ │ │ ├── pre-42-InterruptedAtShutdown.yml │ │ │ │ │ ├── pre-42-InterruptedDueToReplStateChange.json │ │ │ │ │ ├── pre-42-InterruptedDueToReplStateChange.yml │ │ │ │ │ ├── pre-42-LegacyNotPrimary.json │ │ │ │ │ ├── pre-42-LegacyNotPrimary.yml │ │ │ │ │ ├── pre-42-NotPrimaryNoSecondaryOk.json │ │ │ │ │ ├── pre-42-NotPrimaryNoSecondaryOk.yml │ │ │ │ │ ├── pre-42-NotPrimaryOrSecondary.json │ │ │ │ │ ├── pre-42-NotPrimaryOrSecondary.yml │ │ │ │ │ ├── pre-42-NotWritablePrimary.json │ │ │ │ │ ├── pre-42-NotWritablePrimary.yml │ │ │ │ │ ├── pre-42-PrimarySteppedDown.json │ │ │ │ │ ├── pre-42-PrimarySteppedDown.yml │ │ │ │ │ ├── pre-42-ShutdownInProgress.json │ │ │ │ │ ├── pre-42-ShutdownInProgress.yml │ │ │ │ │ ├── pre-42.yml.template │ │ │ │ │ ├── prefer-error-code.json │ │ │ │ │ ├── prefer-error-code.yml │ │ │ │ │ ├── stale-generation-InterruptedAtShutdown.json │ │ │ │ │ ├── stale-generation-InterruptedAtShutdown.yml │ │ │ │ │ ├── stale-generation-InterruptedDueToReplStateChange.json │ │ │ │ │ ├── stale-generation-InterruptedDueToReplStateChange.yml │ │ │ │ │ ├── stale-generation-NotPrimaryNoSecondaryOk.json │ │ │ │ │ ├── stale-generation-NotPrimaryNoSecondaryOk.yml │ │ │ │ │ ├── stale-generation-NotPrimaryOrSecondary.json │ │ │ │ │ ├── stale-generation-NotPrimaryOrSecondary.yml │ │ │ │ │ ├── stale-generation-NotWritablePrimary.json │ │ │ │ │ ├── stale-generation-NotWritablePrimary.yml │ │ │ │ │ ├── stale-generation-PrimarySteppedDown.json │ │ │ │ │ ├── stale-generation-PrimarySteppedDown.yml │ │ │ │ │ ├── stale-generation-ShutdownInProgress.json │ │ │ │ │ ├── stale-generation-ShutdownInProgress.yml │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-InterruptedAtShutdown.json │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-InterruptedAtShutdown.yml │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-InterruptedDueToReplStateChange.json │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-InterruptedDueToReplStateChange.yml │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-LegacyNotPrimary.json │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-LegacyNotPrimary.yml │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-NotPrimaryNoSecondaryOk.json │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-NotPrimaryNoSecondaryOk.yml │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-NotPrimaryOrSecondary.json │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-NotPrimaryOrSecondary.yml │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-NotWritablePrimary.json │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-NotWritablePrimary.yml │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-PrimarySteppedDown.json │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-PrimarySteppedDown.yml │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-ShutdownInProgress.json │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-ShutdownInProgress.yml │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-network.json │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-network.yml │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-timeout.json │ │ │ │ │ ├── stale-generation-afterHandshakeCompletes-timeout.yml │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-InterruptedAtShutdown.json │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-InterruptedAtShutdown.yml │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-InterruptedDueToReplStateChange.json │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-InterruptedDueToReplStateChange.yml │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-LegacyNotPrimary.json │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-LegacyNotPrimary.yml │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-NotPrimaryNoSecondaryOk.json │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-NotPrimaryNoSecondaryOk.yml │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-NotPrimaryOrSecondary.json │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-NotPrimaryOrSecondary.yml │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-NotWritablePrimary.json │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-NotWritablePrimary.yml │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-PrimarySteppedDown.json │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-PrimarySteppedDown.yml │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-ShutdownInProgress.json │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-ShutdownInProgress.yml │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-network.json │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-network.yml │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-timeout.json │ │ │ │ │ ├── stale-generation-beforeHandshakeCompletes-timeout.yml │ │ │ │ │ ├── stale-generation.yml.template │ │ │ │ │ ├── stale-topologyVersion-InterruptedAtShutdown.json │ │ │ │ │ ├── stale-topologyVersion-InterruptedAtShutdown.yml │ │ │ │ │ ├── stale-topologyVersion-InterruptedDueToReplStateChange.json │ │ │ │ │ ├── stale-topologyVersion-InterruptedDueToReplStateChange.yml │ │ │ │ │ ├── stale-topologyVersion-LegacyNotPrimary.json │ │ │ │ │ ├── stale-topologyVersion-LegacyNotPrimary.yml │ │ │ │ │ ├── stale-topologyVersion-NotPrimaryNoSecondaryOk.json │ │ │ │ │ ├── stale-topologyVersion-NotPrimaryNoSecondaryOk.yml │ │ │ │ │ ├── stale-topologyVersion-NotPrimaryOrSecondary.json │ │ │ │ │ ├── stale-topologyVersion-NotPrimaryOrSecondary.yml │ │ │ │ │ ├── stale-topologyVersion-NotWritablePrimary.json │ │ │ │ │ ├── stale-topologyVersion-NotWritablePrimary.yml │ │ │ │ │ ├── stale-topologyVersion-PrimarySteppedDown.json │ │ │ │ │ ├── stale-topologyVersion-PrimarySteppedDown.yml │ │ │ │ │ ├── stale-topologyVersion-ShutdownInProgress.json │ │ │ │ │ ├── stale-topologyVersion-ShutdownInProgress.yml │ │ │ │ │ ├── stale-topologyVersion.yml.template │ │ │ │ │ ├── write_errors_ignored.json │ │ │ │ │ └── write_errors_ignored.yml │ │ │ │ ├── load-balanced │ │ │ │ │ ├── discover_load_balancer.json │ │ │ │ │ └── discover_load_balancer.yml │ │ │ │ ├── monitoring │ │ │ │ │ ├── README.rst │ │ │ │ │ ├── discovered_standalone.json │ │ │ │ │ ├── discovered_standalone.yml │ │ │ │ │ ├── load_balancer.json │ │ │ │ │ ├── load_balancer.yml │ │ │ │ │ ├── replica_set_with_no_primary.json │ │ │ │ │ ├── replica_set_with_no_primary.yml │ │ │ │ │ ├── replica_set_with_primary.json │ │ │ │ │ ├── replica_set_with_primary.yml │ │ │ │ │ ├── replica_set_with_removal.json │ │ │ │ │ ├── replica_set_with_removal.yml │ │ │ │ │ ├── required_replica_set.json │ │ │ │ │ ├── required_replica_set.yml │ │ │ │ │ ├── standalone.json │ │ │ │ │ ├── standalone.yml │ │ │ │ │ ├── standalone_suppress_equal_description_changes.json │ │ │ │ │ └── standalone_suppress_equal_description_changes.yml │ │ │ │ ├── rs │ │ │ │ │ ├── compatible.json │ │ │ │ │ ├── compatible.yml │ │ │ │ │ ├── compatible_unknown.json │ │ │ │ │ ├── compatible_unknown.yml │ │ │ │ │ ├── discover_arbiters.json │ │ │ │ │ ├── discover_arbiters.yml │ │ │ │ │ ├── discover_arbiters_replicaset.json │ │ │ │ │ ├── discover_arbiters_replicaset.yml │ │ │ │ │ ├── discover_ghost.json │ │ │ │ │ ├── discover_ghost.yml │ │ │ │ │ ├── discover_ghost_replicaset.json │ │ │ │ │ ├── discover_ghost_replicaset.yml │ │ │ │ │ ├── discover_hidden.json │ │ │ │ │ ├── discover_hidden.yml │ │ │ │ │ ├── discover_hidden_replicaset.json │ │ │ │ │ ├── discover_hidden_replicaset.yml │ │ │ │ │ ├── discover_passives.json │ │ │ │ │ ├── discover_passives.yml │ │ │ │ │ ├── discover_passives_replicaset.json │ │ │ │ │ ├── discover_passives_replicaset.yml │ │ │ │ │ ├── discover_primary.json │ │ │ │ │ ├── discover_primary.yml │ │ │ │ │ ├── discover_primary_replicaset.json │ │ │ │ │ ├── discover_primary_replicaset.yml │ │ │ │ │ ├── discover_rsother.json │ │ │ │ │ ├── discover_rsother.yml │ │ │ │ │ ├── discover_rsother_replicaset.json │ │ │ │ │ ├── discover_rsother_replicaset.yml │ │ │ │ │ ├── discover_secondary.json │ │ │ │ │ ├── discover_secondary.yml │ │ │ │ │ ├── discover_secondary_replicaset.json │ │ │ │ │ ├── discover_secondary_replicaset.yml │ │ │ │ │ ├── discovery.json │ │ │ │ │ ├── discovery.yml │ │ │ │ │ ├── electionId_precedence_setVersion.json │ │ │ │ │ ├── electionId_precedence_setVersion.yml │ │ │ │ │ ├── equal_electionids.json │ │ │ │ │ ├── equal_electionids.yml │ │ │ │ │ ├── hosts_differ_from_seeds.json │ │ │ │ │ ├── hosts_differ_from_seeds.yml │ │ │ │ │ ├── incompatible_arbiter.json │ │ │ │ │ ├── incompatible_arbiter.yml │ │ │ │ │ ├── incompatible_ghost.json │ │ │ │ │ ├── incompatible_ghost.yml │ │ │ │ │ ├── incompatible_other.json │ │ │ │ │ ├── incompatible_other.yml │ │ │ │ │ ├── ls_timeout.json │ │ │ │ │ ├── ls_timeout.yml │ │ │ │ │ ├── member_reconfig.json │ │ │ │ │ ├── member_reconfig.yml │ │ │ │ │ ├── member_standalone.json │ │ │ │ │ ├── member_standalone.yml │ │ │ │ │ ├── new_primary.json │ │ │ │ │ ├── new_primary.yml │ │ │ │ │ ├── new_primary_new_electionid.json │ │ │ │ │ ├── new_primary_new_electionid.yml │ │ │ │ │ ├── new_primary_new_setversion.json │ │ │ │ │ ├── new_primary_new_setversion.yml │ │ │ │ │ ├── new_primary_wrong_set_name.json │ │ │ │ │ ├── new_primary_wrong_set_name.yml │ │ │ │ │ ├── non_rs_member.json │ │ │ │ │ ├── non_rs_member.yml │ │ │ │ │ ├── normalize_case.json │ │ │ │ │ ├── normalize_case.yml │ │ │ │ │ ├── normalize_case_me.json │ │ │ │ │ ├── normalize_case_me.yml │ │ │ │ │ ├── null_election_id-pre-6.0.json │ │ │ │ │ ├── null_election_id-pre-6.0.yml │ │ │ │ │ ├── null_election_id.json │ │ │ │ │ ├── null_election_id.yml │ │ │ │ │ ├── primary_becomes_ghost.json │ │ │ │ │ ├── primary_becomes_ghost.yml │ │ │ │ │ ├── primary_becomes_mongos.json │ │ │ │ │ ├── primary_becomes_mongos.yml │ │ │ │ │ ├── primary_becomes_standalone.json │ │ │ │ │ ├── primary_becomes_standalone.yml │ │ │ │ │ ├── primary_changes_set_name.json │ │ │ │ │ ├── primary_changes_set_name.yml │ │ │ │ │ ├── primary_disconnect.json │ │ │ │ │ ├── primary_disconnect.yml │ │ │ │ │ ├── primary_disconnect_electionid.json │ │ │ │ │ ├── primary_disconnect_electionid.yml │ │ │ │ │ ├── primary_disconnect_setversion.json │ │ │ │ │ ├── primary_disconnect_setversion.yml │ │ │ │ │ ├── primary_hint_from_secondary_with_mismatched_me.json │ │ │ │ │ ├── primary_hint_from_secondary_with_mismatched_me.yml │ │ │ │ │ ├── primary_mismatched_me.json │ │ │ │ │ ├── primary_mismatched_me.yml │ │ │ │ │ ├── primary_mismatched_me_not_removed.json │ │ │ │ │ ├── primary_mismatched_me_not_removed.yml │ │ │ │ │ ├── primary_reports_new_member.json │ │ │ │ │ ├── primary_reports_new_member.yml │ │ │ │ │ ├── primary_to_no_primary_mismatched_me.json │ │ │ │ │ ├── primary_to_no_primary_mismatched_me.yml │ │ │ │ │ ├── primary_wrong_set_name.json │ │ │ │ │ ├── primary_wrong_set_name.yml │ │ │ │ │ ├── repeated.json │ │ │ │ │ ├── repeated.yml │ │ │ │ │ ├── replicaset_rsnp.json │ │ │ │ │ ├── replicaset_rsnp.yml │ │ │ │ │ ├── response_from_removed.json │ │ │ │ │ ├── response_from_removed.yml │ │ │ │ │ ├── sec_not_auth.json │ │ │ │ │ ├── sec_not_auth.yml │ │ │ │ │ ├── secondary_ignore_ok_0-pre-6.0.json │ │ │ │ │ ├── secondary_ignore_ok_0-pre-6.0.yml │ │ │ │ │ ├── secondary_ignore_ok_0.json │ │ │ │ │ ├── secondary_ignore_ok_0.yml │ │ │ │ │ ├── secondary_ipv6_literal.json │ │ │ │ │ ├── secondary_ipv6_literal.yml │ │ │ │ │ ├── secondary_mismatched_me.json │ │ │ │ │ ├── secondary_mismatched_me.yml │ │ │ │ │ ├── secondary_wrong_set_name.json │ │ │ │ │ ├── secondary_wrong_set_name.yml │ │ │ │ │ ├── secondary_wrong_set_name_with_primary.json │ │ │ │ │ ├── secondary_wrong_set_name_with_primary.yml │ │ │ │ │ ├── set_version_can_rollback.json │ │ │ │ │ ├── set_version_can_rollback.yml │ │ │ │ │ ├── setversion_equal_max_without_electionid.json │ │ │ │ │ ├── setversion_equal_max_without_electionid.yml │ │ │ │ │ ├── setversion_greaterthan_max_without_electionid.json │ │ │ │ │ ├── setversion_greaterthan_max_without_electionid.yml │ │ │ │ │ ├── setversion_without_electionid-pre-6.0.json │ │ │ │ │ ├── setversion_without_electionid-pre-6.0.yml │ │ │ │ │ ├── setversion_without_electionid.json │ │ │ │ │ ├── setversion_without_electionid.yml │ │ │ │ │ ├── stepdown_change_set_name.json │ │ │ │ │ ├── stepdown_change_set_name.yml │ │ │ │ │ ├── too_new.json │ │ │ │ │ ├── too_new.yml │ │ │ │ │ ├── too_old.json │ │ │ │ │ ├── too_old.yml │ │ │ │ │ ├── topology_version_equal.json │ │ │ │ │ ├── topology_version_equal.yml │ │ │ │ │ ├── topology_version_greater.json │ │ │ │ │ ├── topology_version_greater.yml │ │ │ │ │ ├── topology_version_less.json │ │ │ │ │ ├── topology_version_less.yml │ │ │ │ │ ├── unexpected_mongos.json │ │ │ │ │ ├── unexpected_mongos.yml │ │ │ │ │ ├── use_setversion_without_electionid-pre-6.0.json │ │ │ │ │ ├── use_setversion_without_electionid-pre-6.0.yml │ │ │ │ │ ├── use_setversion_without_electionid.json │ │ │ │ │ ├── use_setversion_without_electionid.yml │ │ │ │ │ ├── wrong_set_name.json │ │ │ │ │ └── wrong_set_name.yml │ │ │ │ ├── sharded │ │ │ │ │ ├── compatible.json │ │ │ │ │ ├── compatible.yml │ │ │ │ │ ├── discover_single_mongos.json │ │ │ │ │ ├── discover_single_mongos.yml │ │ │ │ │ ├── ls_timeout_mongos.json │ │ │ │ │ ├── ls_timeout_mongos.yml │ │ │ │ │ ├── mongos_disconnect.json │ │ │ │ │ ├── mongos_disconnect.yml │ │ │ │ │ ├── multiple_mongoses.json │ │ │ │ │ ├── multiple_mongoses.yml │ │ │ │ │ ├── non_mongos_removed.json │ │ │ │ │ ├── non_mongos_removed.yml │ │ │ │ │ ├── normalize_uri_case.json │ │ │ │ │ ├── normalize_uri_case.yml │ │ │ │ │ ├── too_new.json │ │ │ │ │ ├── too_new.yml │ │ │ │ │ ├── too_old.json │ │ │ │ │ └── too_old.yml │ │ │ │ ├── single │ │ │ │ │ ├── compatible.json │ │ │ │ │ ├── compatible.yml │ │ │ │ │ ├── direct_connection_external_ip.json │ │ │ │ │ ├── direct_connection_external_ip.yml │ │ │ │ │ ├── direct_connection_mongos.json │ │ │ │ │ ├── direct_connection_mongos.yml │ │ │ │ │ ├── direct_connection_replicaset.json │ │ │ │ │ ├── direct_connection_replicaset.yml │ │ │ │ │ ├── direct_connection_rsarbiter.json │ │ │ │ │ ├── direct_connection_rsarbiter.yml │ │ │ │ │ ├── direct_connection_rsprimary.json │ │ │ │ │ ├── direct_connection_rsprimary.yml │ │ │ │ │ ├── direct_connection_rssecondary.json │ │ │ │ │ ├── direct_connection_rssecondary.yml │ │ │ │ │ ├── direct_connection_standalone.json │ │ │ │ │ ├── direct_connection_standalone.yml │ │ │ │ │ ├── direct_connection_unavailable_seed.json │ │ │ │ │ ├── direct_connection_unavailable_seed.yml │ │ │ │ │ ├── direct_connection_wrong_set_name.json │ │ │ │ │ ├── direct_connection_wrong_set_name.yml │ │ │ │ │ ├── discover_standalone.json │ │ │ │ │ ├── discover_standalone.yml │ │ │ │ │ ├── discover_unavailable_seed.json │ │ │ │ │ ├── discover_unavailable_seed.yml │ │ │ │ │ ├── ls_timeout_standalone.json │ │ │ │ │ ├── ls_timeout_standalone.yml │ │ │ │ │ ├── not_ok_response.json │ │ │ │ │ ├── not_ok_response.yml │ │ │ │ │ ├── standalone_removed.json │ │ │ │ │ ├── standalone_removed.yml │ │ │ │ │ ├── standalone_using_legacy_hello.json │ │ │ │ │ ├── standalone_using_legacy_hello.yml │ │ │ │ │ ├── too_new.json │ │ │ │ │ ├── too_new.yml │ │ │ │ │ ├── too_old.json │ │ │ │ │ ├── too_old.yml │ │ │ │ │ ├── too_old_then_upgraded.json │ │ │ │ │ └── too_old_then_upgraded.yml │ │ │ │ └── unified │ │ │ │ │ ├── auth-error.json │ │ │ │ │ ├── auth-error.yml │ │ │ │ │ ├── auth-misc-command-error.json │ │ │ │ │ ├── auth-misc-command-error.yml │ │ │ │ │ ├── auth-network-error.json │ │ │ │ │ ├── auth-network-error.yml │ │ │ │ │ ├── auth-network-timeout-error.json │ │ │ │ │ ├── auth-network-timeout-error.yml │ │ │ │ │ ├── auth-shutdown-error.json │ │ │ │ │ ├── auth-shutdown-error.yml │ │ │ │ │ ├── cancel-server-check.json │ │ │ │ │ ├── cancel-server-check.yml │ │ │ │ │ ├── connectTimeoutMS.json │ │ │ │ │ ├── connectTimeoutMS.yml │ │ │ │ │ ├── find-network-error.json │ │ │ │ │ ├── find-network-error.yml │ │ │ │ │ ├── find-network-timeout-error.json │ │ │ │ │ ├── find-network-timeout-error.yml │ │ │ │ │ ├── find-shutdown-error.json │ │ │ │ │ ├── find-shutdown-error.yml │ │ │ │ │ ├── hello-command-error.json │ │ │ │ │ ├── hello-command-error.yml │ │ │ │ │ ├── hello-network-error.json │ │ │ │ │ ├── hello-network-error.yml │ │ │ │ │ ├── hello-timeout.json │ │ │ │ │ ├── hello-timeout.yml │ │ │ │ │ ├── insert-network-error.json │ │ │ │ │ ├── insert-network-error.yml │ │ │ │ │ ├── insert-shutdown-error.json │ │ │ │ │ ├── insert-shutdown-error.yml │ │ │ │ │ ├── interruptInUse-pool-clear.json │ │ │ │ │ ├── interruptInUse-pool-clear.yml │ │ │ │ │ ├── loadbalanced-emit-topology-changed-before-close.json │ │ │ │ │ ├── loadbalanced-emit-topology-changed-before-close.yml │ │ │ │ │ ├── logging-loadbalanced.json │ │ │ │ │ ├── logging-loadbalanced.yml │ │ │ │ │ ├── logging-replicaset.json │ │ │ │ │ ├── logging-replicaset.yml │ │ │ │ │ ├── logging-sharded.json │ │ │ │ │ ├── logging-sharded.yml │ │ │ │ │ ├── logging-standalone.json │ │ │ │ │ ├── logging-standalone.yml │ │ │ │ │ ├── minPoolSize-error.json │ │ │ │ │ ├── minPoolSize-error.yml │ │ │ │ │ ├── pool-cleared-error.json │ │ │ │ │ ├── pool-cleared-error.yml │ │ │ │ │ ├── rediscover-quickly-after-step-down.json │ │ │ │ │ ├── rediscover-quickly-after-step-down.yml │ │ │ │ │ ├── replicaset-emit-topology-changed-before-close.json │ │ │ │ │ ├── replicaset-emit-topology-changed-before-close.yml │ │ │ │ │ ├── serverMonitoringMode.json │ │ │ │ │ ├── serverMonitoringMode.yml │ │ │ │ │ ├── sharded-emit-topology-changed-before-close.json │ │ │ │ │ ├── sharded-emit-topology-changed-before-close.yml │ │ │ │ │ ├── standalone-emit-topology-changed-before-close.json │ │ │ │ │ └── standalone-emit-topology-changed-before-close.yml │ │ │ ├── server-selection │ │ │ │ ├── README.md │ │ │ │ ├── in_window │ │ │ │ │ ├── equilibrium.json │ │ │ │ │ ├── equilibrium.yml │ │ │ │ │ ├── many-choices.json │ │ │ │ │ ├── many-choices.yml │ │ │ │ │ ├── one-least-two-tied.json │ │ │ │ │ ├── one-least-two-tied.yml │ │ │ │ │ ├── rs-equilibrium.json │ │ │ │ │ ├── rs-equilibrium.yml │ │ │ │ │ ├── rs-three-choices.json │ │ │ │ │ ├── rs-three-choices.yml │ │ │ │ │ ├── three-choices.json │ │ │ │ │ ├── three-choices.yml │ │ │ │ │ ├── two-choices.json │ │ │ │ │ ├── two-choices.yml │ │ │ │ │ ├── two-least.json │ │ │ │ │ └── two-least.yml │ │ │ │ ├── logging │ │ │ │ │ ├── load-balanced.json │ │ │ │ │ ├── load-balanced.yml │ │ │ │ │ ├── operation-id.json │ │ │ │ │ ├── operation-id.yml │ │ │ │ │ ├── replica-set.json │ │ │ │ │ ├── replica-set.yml │ │ │ │ │ ├── sharded.json │ │ │ │ │ ├── sharded.yml │ │ │ │ │ ├── standalone.json │ │ │ │ │ └── standalone.yml │ │ │ │ ├── rtt │ │ │ │ │ ├── first_value.json │ │ │ │ │ ├── first_value.yml │ │ │ │ │ ├── first_value_zero.json │ │ │ │ │ ├── first_value_zero.yml │ │ │ │ │ ├── value_test_1.json │ │ │ │ │ ├── value_test_1.yml │ │ │ │ │ ├── value_test_2.json │ │ │ │ │ ├── value_test_2.yml │ │ │ │ │ ├── value_test_3.json │ │ │ │ │ ├── value_test_3.yml │ │ │ │ │ ├── value_test_4.json │ │ │ │ │ ├── value_test_4.yml │ │ │ │ │ ├── value_test_5.json │ │ │ │ │ └── value_test_5.yml │ │ │ │ └── server_selection │ │ │ │ │ ├── LoadBalanced │ │ │ │ │ ├── read │ │ │ │ │ │ ├── Nearest.json │ │ │ │ │ │ ├── Nearest.yml │ │ │ │ │ │ ├── Primary.json │ │ │ │ │ │ ├── Primary.yml │ │ │ │ │ │ ├── PrimaryPreferred.json │ │ │ │ │ │ ├── PrimaryPreferred.yml │ │ │ │ │ │ ├── Secondary.json │ │ │ │ │ │ ├── Secondary.yml │ │ │ │ │ │ ├── SecondaryPreferred.json │ │ │ │ │ │ └── SecondaryPreferred.yml │ │ │ │ │ └── write │ │ │ │ │ │ ├── Nearest.json │ │ │ │ │ │ ├── Nearest.yml │ │ │ │ │ │ ├── Primary.json │ │ │ │ │ │ ├── Primary.yml │ │ │ │ │ │ ├── PrimaryPreferred.json │ │ │ │ │ │ ├── PrimaryPreferred.yml │ │ │ │ │ │ ├── Secondary.json │ │ │ │ │ │ ├── Secondary.yml │ │ │ │ │ │ ├── SecondaryPreferred.json │ │ │ │ │ │ └── SecondaryPreferred.yml │ │ │ │ │ ├── ReplicaSetNoPrimary │ │ │ │ │ ├── read │ │ │ │ │ │ ├── Nearest.json │ │ │ │ │ │ ├── Nearest.yml │ │ │ │ │ │ ├── Nearest_multiple.json │ │ │ │ │ │ ├── Nearest_multiple.yml │ │ │ │ │ │ ├── Nearest_non_matching.json │ │ │ │ │ │ ├── Nearest_non_matching.yml │ │ │ │ │ │ ├── PossiblePrimary.json │ │ │ │ │ │ ├── PossiblePrimary.yml │ │ │ │ │ │ ├── PossiblePrimaryNearest.json │ │ │ │ │ │ ├── PossiblePrimaryNearest.yml │ │ │ │ │ │ ├── Primary.json │ │ │ │ │ │ ├── Primary.yml │ │ │ │ │ │ ├── PrimaryPreferred.json │ │ │ │ │ │ ├── PrimaryPreferred.yml │ │ │ │ │ │ ├── PrimaryPreferred_non_matching.json │ │ │ │ │ │ ├── PrimaryPreferred_non_matching.yml │ │ │ │ │ │ ├── Secondary.json │ │ │ │ │ │ ├── Secondary.yml │ │ │ │ │ │ ├── SecondaryPreferred.json │ │ │ │ │ │ ├── SecondaryPreferred.yml │ │ │ │ │ │ ├── SecondaryPreferred_non_matching.json │ │ │ │ │ │ ├── SecondaryPreferred_non_matching.yml │ │ │ │ │ │ ├── Secondary_multi_tags.json │ │ │ │ │ │ ├── Secondary_multi_tags.yml │ │ │ │ │ │ ├── Secondary_multi_tags2.json │ │ │ │ │ │ ├── Secondary_multi_tags2.yml │ │ │ │ │ │ ├── Secondary_non_matching.json │ │ │ │ │ │ └── Secondary_non_matching.yml │ │ │ │ │ └── write │ │ │ │ │ │ ├── SecondaryPreferred.json │ │ │ │ │ │ └── SecondaryPreferred.yml │ │ │ │ │ ├── ReplicaSetWithPrimary │ │ │ │ │ ├── read │ │ │ │ │ │ ├── Nearest.json │ │ │ │ │ │ ├── Nearest.yml │ │ │ │ │ │ ├── Nearest_multiple.json │ │ │ │ │ │ ├── Nearest_multiple.yml │ │ │ │ │ │ ├── Nearest_non_matching.json │ │ │ │ │ │ ├── Nearest_non_matching.yml │ │ │ │ │ │ ├── Primary.json │ │ │ │ │ │ ├── Primary.yml │ │ │ │ │ │ ├── PrimaryPreferred.json │ │ │ │ │ │ ├── PrimaryPreferred.yml │ │ │ │ │ │ ├── PrimaryPreferred_non_matching.json │ │ │ │ │ │ ├── PrimaryPreferred_non_matching.yml │ │ │ │ │ │ ├── Secondary.json │ │ │ │ │ │ ├── Secondary.yml │ │ │ │ │ │ ├── SecondaryPreferred.json │ │ │ │ │ │ ├── SecondaryPreferred.yml │ │ │ │ │ │ ├── SecondaryPreferred_non_matching.json │ │ │ │ │ │ ├── SecondaryPreferred_non_matching.yml │ │ │ │ │ │ ├── SecondaryPreferred_tags.json │ │ │ │ │ │ ├── SecondaryPreferred_tags.yml │ │ │ │ │ │ ├── Secondary_non_matching.json │ │ │ │ │ │ └── Secondary_non_matching.yml │ │ │ │ │ └── write │ │ │ │ │ │ ├── SecondaryPreferred.json │ │ │ │ │ │ └── SecondaryPreferred.yml │ │ │ │ │ ├── Sharded │ │ │ │ │ ├── read │ │ │ │ │ │ ├── Nearest.json │ │ │ │ │ │ ├── Nearest.yml │ │ │ │ │ │ ├── Primary.json │ │ │ │ │ │ ├── Primary.yml │ │ │ │ │ │ ├── PrimaryPreferred.json │ │ │ │ │ │ ├── PrimaryPreferred.yml │ │ │ │ │ │ ├── Secondary.json │ │ │ │ │ │ ├── Secondary.yml │ │ │ │ │ │ ├── SecondaryPreferred.json │ │ │ │ │ │ └── SecondaryPreferred.yml │ │ │ │ │ └── write │ │ │ │ │ │ ├── Nearest.json │ │ │ │ │ │ ├── Nearest.yml │ │ │ │ │ │ ├── Primary.json │ │ │ │ │ │ ├── Primary.yml │ │ │ │ │ │ ├── PrimaryPreferred.json │ │ │ │ │ │ ├── PrimaryPreferred.yml │ │ │ │ │ │ ├── Secondary.json │ │ │ │ │ │ ├── Secondary.yml │ │ │ │ │ │ ├── SecondaryPreferred.json │ │ │ │ │ │ └── SecondaryPreferred.yml │ │ │ │ │ ├── Single │ │ │ │ │ ├── read │ │ │ │ │ │ ├── SecondaryPreferred.json │ │ │ │ │ │ └── SecondaryPreferred.yml │ │ │ │ │ └── write │ │ │ │ │ │ ├── SecondaryPreferred.json │ │ │ │ │ │ └── SecondaryPreferred.yml │ │ │ │ │ └── Unknown │ │ │ │ │ ├── read │ │ │ │ │ ├── SecondaryPreferred.json │ │ │ │ │ ├── SecondaryPreferred.yml │ │ │ │ │ ├── ghost.json │ │ │ │ │ └── ghost.yml │ │ │ │ │ └── write │ │ │ │ │ ├── SecondaryPreferred.json │ │ │ │ │ ├── SecondaryPreferred.yml │ │ │ │ │ ├── ghost.json │ │ │ │ │ └── ghost.yml │ │ │ ├── sessions │ │ │ │ ├── README.md │ │ │ │ ├── driver-sessions-dirty-session-errors.json │ │ │ │ ├── driver-sessions-dirty-session-errors.yml │ │ │ │ ├── driver-sessions-server-support.json │ │ │ │ ├── driver-sessions-server-support.yml │ │ │ │ ├── implicit-sessions-default-causal-consistency.json │ │ │ │ ├── implicit-sessions-default-causal-consistency.yml │ │ │ │ ├── snapshot-sessions-not-supported-client-error.json │ │ │ │ ├── snapshot-sessions-not-supported-client-error.yml │ │ │ │ ├── snapshot-sessions-not-supported-server-error.json │ │ │ │ ├── snapshot-sessions-not-supported-server-error.yml │ │ │ │ ├── snapshot-sessions-unsupported-ops.json │ │ │ │ ├── snapshot-sessions-unsupported-ops.yml │ │ │ │ ├── snapshot-sessions.json │ │ │ │ └── snapshot-sessions.yml │ │ │ ├── testdata │ │ │ │ └── client-side-encryption │ │ │ │ │ ├── corpus │ │ │ │ │ ├── corpus-encrypted.json │ │ │ │ │ ├── corpus-key-aws.json │ │ │ │ │ ├── corpus-key-azure.json │ │ │ │ │ ├── corpus-key-gcp.json │ │ │ │ │ ├── corpus-key-kmip.json │ │ │ │ │ ├── corpus-key-local.json │ │ │ │ │ ├── corpus-schema.json │ │ │ │ │ └── corpus.json │ │ │ │ │ ├── data │ │ │ │ │ ├── encryptedFields.json │ │ │ │ │ ├── keys │ │ │ │ │ │ ├── key1-document.json │ │ │ │ │ │ ├── key1-id.json │ │ │ │ │ │ ├── key2-document.json │ │ │ │ │ │ └── key2-id.json │ │ │ │ │ ├── range-encryptedFields-Date.json │ │ │ │ │ ├── range-encryptedFields-DecimalNoPrecision.json │ │ │ │ │ ├── range-encryptedFields-DecimalPrecision.json │ │ │ │ │ ├── range-encryptedFields-DoubleNoPrecision.json │ │ │ │ │ ├── range-encryptedFields-DoublePrecision.json │ │ │ │ │ ├── range-encryptedFields-Int.json │ │ │ │ │ └── range-encryptedFields-Long.json │ │ │ │ │ ├── external │ │ │ │ │ ├── external-key.json │ │ │ │ │ └── external-schema.json │ │ │ │ │ └── limits │ │ │ │ │ ├── limits-doc.json │ │ │ │ │ ├── limits-key.json │ │ │ │ │ └── limits-schema.json │ │ │ ├── transactions-convenient-api │ │ │ │ ├── README.md │ │ │ │ └── unified │ │ │ │ │ ├── callback-aborts.json │ │ │ │ │ ├── callback-aborts.yml │ │ │ │ │ ├── callback-commits.json │ │ │ │ │ ├── callback-commits.yml │ │ │ │ │ ├── callback-retry.json │ │ │ │ │ ├── callback-retry.yml │ │ │ │ │ ├── commit-retry-errorLabels.json │ │ │ │ │ ├── commit-retry-errorLabels.yml │ │ │ │ │ ├── commit-retry.json │ │ │ │ │ ├── commit-retry.yml │ │ │ │ │ ├── commit-transienttransactionerror-4.2.json │ │ │ │ │ ├── commit-transienttransactionerror-4.2.yml │ │ │ │ │ ├── commit-transienttransactionerror.json │ │ │ │ │ ├── commit-transienttransactionerror.yml │ │ │ │ │ ├── commit-writeconcernerror.json │ │ │ │ │ ├── commit-writeconcernerror.yml │ │ │ │ │ ├── commit.json │ │ │ │ │ ├── commit.yml │ │ │ │ │ ├── transaction-options.json │ │ │ │ │ └── transaction-options.yml │ │ │ ├── transactions │ │ │ │ ├── README.md │ │ │ │ ├── legacy-test-format.md │ │ │ │ └── unified │ │ │ │ │ ├── abort.json │ │ │ │ │ ├── abort.yml │ │ │ │ │ ├── bulk.json │ │ │ │ │ ├── bulk.yml │ │ │ │ │ ├── causal-consistency.json │ │ │ │ │ ├── causal-consistency.yml │ │ │ │ │ ├── client-bulkWrite.json │ │ │ │ │ ├── client-bulkWrite.yml │ │ │ │ │ ├── commit.json │ │ │ │ │ ├── commit.yml │ │ │ │ │ ├── count.json │ │ │ │ │ ├── count.yml │ │ │ │ │ ├── create-collection.json │ │ │ │ │ ├── create-collection.yml │ │ │ │ │ ├── create-index.json │ │ │ │ │ ├── create-index.yml │ │ │ │ │ ├── delete.json │ │ │ │ │ ├── delete.yml │ │ │ │ │ ├── do-not-retry-read-in-transaction.json │ │ │ │ │ ├── do-not-retry-read-in-transaction.yml │ │ │ │ │ ├── error-labels-blockConnection.json │ │ │ │ │ ├── error-labels-blockConnection.yml │ │ │ │ │ ├── error-labels-errorLabels.json │ │ │ │ │ ├── error-labels-errorLabels.yml │ │ │ │ │ ├── error-labels.json │ │ │ │ │ ├── error-labels.yml │ │ │ │ │ ├── errors-client.json │ │ │ │ │ ├── errors-client.yml │ │ │ │ │ ├── errors.json │ │ │ │ │ ├── errors.yml │ │ │ │ │ ├── findOneAndDelete.json │ │ │ │ │ ├── findOneAndDelete.yml │ │ │ │ │ ├── findOneAndReplace.json │ │ │ │ │ ├── findOneAndReplace.yml │ │ │ │ │ ├── findOneAndUpdate.json │ │ │ │ │ ├── findOneAndUpdate.yml │ │ │ │ │ ├── insert.json │ │ │ │ │ ├── insert.yml │ │ │ │ │ ├── isolation.json │ │ │ │ │ ├── isolation.yml │ │ │ │ │ ├── mongos-pin-auto-tests.py │ │ │ │ │ ├── mongos-pin-auto.json │ │ │ │ │ ├── mongos-pin-auto.yml │ │ │ │ │ ├── mongos-recovery-token-errorLabels.json │ │ │ │ │ ├── mongos-recovery-token-errorLabels.yml │ │ │ │ │ ├── mongos-recovery-token.json │ │ │ │ │ ├── mongos-recovery-token.yml │ │ │ │ │ ├── mongos-unpin.json │ │ │ │ │ ├── mongos-unpin.yml │ │ │ │ │ ├── pin-mongos.json │ │ │ │ │ ├── pin-mongos.yml │ │ │ │ │ ├── read-concern.json │ │ │ │ │ ├── read-concern.yml │ │ │ │ │ ├── read-pref.json │ │ │ │ │ ├── read-pref.yml │ │ │ │ │ ├── reads.json │ │ │ │ │ ├── reads.yml │ │ │ │ │ ├── retryable-abort-errorLabels.json │ │ │ │ │ ├── retryable-abort-errorLabels.yml │ │ │ │ │ ├── retryable-abort-handshake.json │ │ │ │ │ ├── retryable-abort-handshake.yml │ │ │ │ │ ├── retryable-abort.json │ │ │ │ │ ├── retryable-abort.yml │ │ │ │ │ ├── retryable-commit-errorLabels.json │ │ │ │ │ ├── retryable-commit-errorLabels.yml │ │ │ │ │ ├── retryable-commit-handshake.json │ │ │ │ │ ├── retryable-commit-handshake.yml │ │ │ │ │ ├── retryable-commit.json │ │ │ │ │ ├── retryable-commit.yml │ │ │ │ │ ├── retryable-writes.json │ │ │ │ │ ├── retryable-writes.yml │ │ │ │ │ ├── run-command.json │ │ │ │ │ ├── run-command.yml │ │ │ │ │ ├── transaction-options-repl.json │ │ │ │ │ ├── transaction-options-repl.yml │ │ │ │ │ ├── transaction-options.json │ │ │ │ │ ├── transaction-options.yml │ │ │ │ │ ├── update.json │ │ │ │ │ ├── update.yml │ │ │ │ │ ├── write-concern.json │ │ │ │ │ └── write-concern.yml │ │ │ ├── unified-test-format │ │ │ │ ├── Makefile │ │ │ │ ├── README.md │ │ │ │ ├── invalid │ │ │ │ │ ├── clientEncryptionOpts-additionalProperties.json │ │ │ │ │ ├── clientEncryptionOpts-additionalProperties.yml │ │ │ │ │ ├── clientEncryptionOpts-keyVaultClient-required.json │ │ │ │ │ ├── clientEncryptionOpts-keyVaultClient-required.yml │ │ │ │ │ ├── clientEncryptionOpts-keyVaultClient-type.json │ │ │ │ │ ├── clientEncryptionOpts-keyVaultClient-type.yml │ │ │ │ │ ├── clientEncryptionOpts-keyVaultNamespace-required.json │ │ │ │ │ ├── clientEncryptionOpts-keyVaultNamespace-required.yml │ │ │ │ │ ├── clientEncryptionOpts-keyVaultNamespace-type.json │ │ │ │ │ ├── clientEncryptionOpts-keyVaultNamespace-type.yml │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-additionalProperties.json │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-additionalProperties.yml │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-aws-additionalProperties.json │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-aws-additionalProperties.yml │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-aws-type.json │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-aws-type.yml │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-azure-additionalProperties.json │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-azure-additionalProperties.yml │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-azure-type.json │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-azure-type.yml │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-gcp-additionalProperties.json │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-gcp-additionalProperties.yml │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-gcp-type.json │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-gcp-type.yml │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-invalidName.json │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-invalidName.yml │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-kmip-additionalProperties.json │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-kmip-additionalProperties.yml │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-kmip-type.json │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-kmip-type.yml │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-local-additionalProperties.json │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-local-additionalProperties.yml │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-local-type.json │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-local-type.yml │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-required.json │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-required.yml │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-type.json │ │ │ │ │ ├── clientEncryptionOpts-kmsProviders-type.yml │ │ │ │ │ ├── clientEncryptionOpts-tlsOptions_not_supported.json │ │ │ │ │ ├── clientEncryptionOpts-tlsOptions_not_supported.yml │ │ │ │ │ ├── collectionData-additionalProperties.json │ │ │ │ │ ├── collectionData-additionalProperties.yml │ │ │ │ │ ├── collectionData-collectionName-required.json │ │ │ │ │ ├── collectionData-collectionName-required.yml │ │ │ │ │ ├── collectionData-collectionName-type.json │ │ │ │ │ ├── collectionData-collectionName-type.yml │ │ │ │ │ ├── collectionData-createOptions-type.json │ │ │ │ │ ├── collectionData-createOptions-type.yml │ │ │ │ │ ├── collectionData-databaseName-required.json │ │ │ │ │ ├── collectionData-databaseName-required.yml │ │ │ │ │ ├── collectionData-databaseName-type.json │ │ │ │ │ ├── collectionData-databaseName-type.yml │ │ │ │ │ ├── collectionData-documents-items.json │ │ │ │ │ ├── collectionData-documents-items.yml │ │ │ │ │ ├── collectionData-documents-required.json │ │ │ │ │ ├── collectionData-documents-required.yml │ │ │ │ │ ├── collectionData-documents-type.json │ │ │ │ │ ├── collectionData-documents-type.yml │ │ │ │ │ ├── collectionOrDatabaseOptions-additionalProperties.json │ │ │ │ │ ├── collectionOrDatabaseOptions-additionalProperties.yml │ │ │ │ │ ├── collectionOrDatabaseOptions-readConcern-type.json │ │ │ │ │ ├── collectionOrDatabaseOptions-readConcern-type.yml │ │ │ │ │ ├── collectionOrDatabaseOptions-readPreference-type.json │ │ │ │ │ ├── collectionOrDatabaseOptions-readPreference-type.yml │ │ │ │ │ ├── collectionOrDatabaseOptions-timeoutMS-type.json │ │ │ │ │ ├── collectionOrDatabaseOptions-timeoutMS-type.yml │ │ │ │ │ ├── collectionOrDatabaseOptions-writeConcern-type.json │ │ │ │ │ ├── collectionOrDatabaseOptions-writeConcern-type.yml │ │ │ │ │ ├── createEntities-items.json │ │ │ │ │ ├── createEntities-items.yml │ │ │ │ │ ├── createEntities-minItems.json │ │ │ │ │ ├── createEntities-minItems.yml │ │ │ │ │ ├── createEntities-type.json │ │ │ │ │ ├── createEntities-type.yml │ │ │ │ │ ├── description-required.json │ │ │ │ │ ├── description-required.yml │ │ │ │ │ ├── entity-additionalProperties.json │ │ │ │ │ ├── entity-additionalProperties.yml │ │ │ │ │ ├── entity-bucket-additionalProperties.json │ │ │ │ │ ├── entity-bucket-additionalProperties.yml │ │ │ │ │ ├── entity-bucket-bucketOptions-type.json │ │ │ │ │ ├── entity-bucket-bucketOptions-type.yml │ │ │ │ │ ├── entity-bucket-database-required.json │ │ │ │ │ ├── entity-bucket-database-required.yml │ │ │ │ │ ├── entity-bucket-database-type.json │ │ │ │ │ ├── entity-bucket-database-type.yml │ │ │ │ │ ├── entity-bucket-id-required.json │ │ │ │ │ ├── entity-bucket-id-required.yml │ │ │ │ │ ├── entity-bucket-id-type.json │ │ │ │ │ ├── entity-bucket-id-type.yml │ │ │ │ │ ├── entity-client-additionalProperties.json │ │ │ │ │ ├── entity-client-additionalProperties.yml │ │ │ │ │ ├── entity-client-id-required.json │ │ │ │ │ ├── entity-client-id-required.yml │ │ │ │ │ ├── entity-client-id-type.json │ │ │ │ │ ├── entity-client-id-type.yml │ │ │ │ │ ├── entity-client-ignoreCommandMonitoringEvents-items.json │ │ │ │ │ ├── entity-client-ignoreCommandMonitoringEvents-items.yml │ │ │ │ │ ├── entity-client-ignoreCommandMonitoringEvents-minItems.json │ │ │ │ │ ├── entity-client-ignoreCommandMonitoringEvents-minItems.yml │ │ │ │ │ ├── entity-client-ignoreCommandMonitoringEvents-type.json │ │ │ │ │ ├── entity-client-ignoreCommandMonitoringEvents-type.yml │ │ │ │ │ ├── entity-client-observeEvents-enum.json │ │ │ │ │ ├── entity-client-observeEvents-enum.yml │ │ │ │ │ ├── entity-client-observeEvents-items.json │ │ │ │ │ ├── entity-client-observeEvents-items.yml │ │ │ │ │ ├── entity-client-observeEvents-minItems.json │ │ │ │ │ ├── entity-client-observeEvents-minItems.yml │ │ │ │ │ ├── entity-client-observeEvents-type.json │ │ │ │ │ ├── entity-client-observeEvents-type.yml │ │ │ │ │ ├── entity-client-observeLogMessages-minProperties.json │ │ │ │ │ ├── entity-client-observeLogMessages-minProperties.yml │ │ │ │ │ ├── entity-client-observeLogMessages-property-type.json │ │ │ │ │ ├── entity-client-observeLogMessages-property-type.yml │ │ │ │ │ ├── entity-client-observeLogMessages-property-value.json │ │ │ │ │ ├── entity-client-observeLogMessages-property-value.yml │ │ │ │ │ ├── entity-client-observeLogMessages-type.json │ │ │ │ │ ├── entity-client-observeLogMessages-type.yml │ │ │ │ │ ├── entity-client-observeSensitiveCommands-type.json │ │ │ │ │ ├── entity-client-observeSensitiveCommands-type.yml │ │ │ │ │ ├── entity-client-serverApi-deprecationErrors-type.json │ │ │ │ │ ├── entity-client-serverApi-deprecationErrors-type.yml │ │ │ │ │ ├── entity-client-serverApi-strict-type.json │ │ │ │ │ ├── entity-client-serverApi-strict-type.yml │ │ │ │ │ ├── entity-client-serverApi-type.json │ │ │ │ │ ├── entity-client-serverApi-type.yml │ │ │ │ │ ├── entity-client-serverApi-version-required.json │ │ │ │ │ ├── entity-client-serverApi-version-required.yml │ │ │ │ │ ├── entity-client-serverApi-version-type.json │ │ │ │ │ ├── entity-client-serverApi-version-type.yml │ │ │ │ │ ├── entity-client-storeEventsAsEntities-minItems.json │ │ │ │ │ ├── entity-client-storeEventsAsEntities-minItems.yml │ │ │ │ │ ├── entity-client-storeEventsAsEntities-type.json │ │ │ │ │ ├── entity-client-storeEventsAsEntities-type.yml │ │ │ │ │ ├── entity-client-uriOptions-type.json │ │ │ │ │ ├── entity-client-uriOptions-type.yml │ │ │ │ │ ├── entity-client-useMultipleMongoses-type.json │ │ │ │ │ ├── entity-client-useMultipleMongoses-type.yml │ │ │ │ │ ├── entity-clientEncryption-additionalProperties.json │ │ │ │ │ ├── entity-clientEncryption-additionalProperties.yml │ │ │ │ │ ├── entity-clientEncryption-clientEncryptionOpts-required.json │ │ │ │ │ ├── entity-clientEncryption-clientEncryptionOpts-required.yml │ │ │ │ │ ├── entity-clientEncryption-clientEncryptionOpts-type.json │ │ │ │ │ ├── entity-clientEncryption-clientEncryptionOpts-type.yml │ │ │ │ │ ├── entity-clientEncryption-id-required.json │ │ │ │ │ ├── entity-clientEncryption-id-required.yml │ │ │ │ │ ├── entity-clientEncryption-id-type.json │ │ │ │ │ ├── entity-clientEncryption-id-type.yml │ │ │ │ │ ├── entity-collection-additionalProperties.json │ │ │ │ │ ├── entity-collection-additionalProperties.yml │ │ │ │ │ ├── entity-collection-collectionName-required.json │ │ │ │ │ ├── entity-collection-collectionName-required.yml │ │ │ │ │ ├── entity-collection-collectionName-type.json │ │ │ │ │ ├── entity-collection-collectionName-type.yml │ │ │ │ │ ├── entity-collection-collectionOptions-type.json │ │ │ │ │ ├── entity-collection-collectionOptions-type.yml │ │ │ │ │ ├── entity-collection-database-required.json │ │ │ │ │ ├── entity-collection-database-required.yml │ │ │ │ │ ├── entity-collection-database-type.json │ │ │ │ │ ├── entity-collection-database-type.yml │ │ │ │ │ ├── entity-collection-id-required.json │ │ │ │ │ ├── entity-collection-id-required.yml │ │ │ │ │ ├── entity-collection-id-type.json │ │ │ │ │ ├── entity-collection-id-type.yml │ │ │ │ │ ├── entity-database-additionalProperties.json │ │ │ │ │ ├── entity-database-additionalProperties.yml │ │ │ │ │ ├── entity-database-client-required.json │ │ │ │ │ ├── entity-database-client-required.yml │ │ │ │ │ ├── entity-database-client-type.json │ │ │ │ │ ├── entity-database-client-type.yml │ │ │ │ │ ├── entity-database-databaseName-required.json │ │ │ │ │ ├── entity-database-databaseName-required.yml │ │ │ │ │ ├── entity-database-databaseName-type.json │ │ │ │ │ ├── entity-database-databaseName-type.yml │ │ │ │ │ ├── entity-database-databaseOptions-type.json │ │ │ │ │ ├── entity-database-databaseOptions-type.yml │ │ │ │ │ ├── entity-database-id-required.json │ │ │ │ │ ├── entity-database-id-required.yml │ │ │ │ │ ├── entity-database-id-type.json │ │ │ │ │ ├── entity-database-id-type.yml │ │ │ │ │ ├── entity-maxProperties.json │ │ │ │ │ ├── entity-maxProperties.yml │ │ │ │ │ ├── entity-minProperties.json │ │ │ │ │ ├── entity-minProperties.yml │ │ │ │ │ ├── entity-session-additionalProperties.json │ │ │ │ │ ├── entity-session-additionalProperties.yml │ │ │ │ │ ├── entity-session-client-required.json │ │ │ │ │ ├── entity-session-client-required.yml │ │ │ │ │ ├── entity-session-client-type.json │ │ │ │ │ ├── entity-session-client-type.yml │ │ │ │ │ ├── entity-session-id-required.json │ │ │ │ │ ├── entity-session-id-required.yml │ │ │ │ │ ├── entity-session-id-type.json │ │ │ │ │ ├── entity-session-id-type.yml │ │ │ │ │ ├── entity-session-sessionOptions-type.json │ │ │ │ │ ├── entity-session-sessionOptions-type.yml │ │ │ │ │ ├── entity-stream-additionalProperties.json │ │ │ │ │ ├── entity-stream-additionalProperties.yml │ │ │ │ │ ├── entity-stream-hexBytes-pattern.json │ │ │ │ │ ├── entity-stream-hexBytes-pattern.yml │ │ │ │ │ ├── entity-stream-hexBytes-required.json │ │ │ │ │ ├── entity-stream-hexBytes-required.yml │ │ │ │ │ ├── entity-stream-hexBytes-type.json │ │ │ │ │ ├── entity-stream-hexBytes-type.yml │ │ │ │ │ ├── entity-stream-id-required.json │ │ │ │ │ ├── entity-stream-id-required.yml │ │ │ │ │ ├── entity-stream-id-type.json │ │ │ │ │ ├── entity-stream-id-type.yml │ │ │ │ │ ├── entity-thread-additionalProperties.json │ │ │ │ │ ├── entity-thread-additionalProperties.yml │ │ │ │ │ ├── entity-thread-id-required.json │ │ │ │ │ ├── entity-thread-id-required.yml │ │ │ │ │ ├── entity-thread-id-type.json │ │ │ │ │ ├── entity-thread-id-type.yml │ │ │ │ │ ├── expectedCmapEvent-connectionCheckOutFailedEvent-reason-type.json │ │ │ │ │ ├── expectedCmapEvent-connectionCheckOutFailedEvent-reason-type.yml │ │ │ │ │ ├── expectedCmapEvent-connectionCheckOutStartedEvent-additionalProperties.json │ │ │ │ │ ├── expectedCmapEvent-connectionCheckOutStartedEvent-additionalProperties.yml │ │ │ │ │ ├── expectedCmapEvent-connectionCheckedInEvent-additionalProperties.json │ │ │ │ │ ├── expectedCmapEvent-connectionCheckedInEvent-additionalProperties.yml │ │ │ │ │ ├── expectedCmapEvent-connectionCheckedOutEvent-additionalProperties.json │ │ │ │ │ ├── expectedCmapEvent-connectionCheckedOutEvent-additionalProperties.yml │ │ │ │ │ ├── expectedCmapEvent-connectionClosedEvent-reason-type.json │ │ │ │ │ ├── expectedCmapEvent-connectionClosedEvent-reason-type.yml │ │ │ │ │ ├── expectedCmapEvent-connectionCreatedEvent-additionalProperties.json │ │ │ │ │ ├── expectedCmapEvent-connectionCreatedEvent-additionalProperties.yml │ │ │ │ │ ├── expectedCmapEvent-connectionReadyEvent-additionalProperties.json │ │ │ │ │ ├── expectedCmapEvent-connectionReadyEvent-additionalProperties.yml │ │ │ │ │ ├── expectedCmapEvent-poolClearedEvent-hasServiceId-type.json │ │ │ │ │ ├── expectedCmapEvent-poolClearedEvent-hasServiceId-type.yml │ │ │ │ │ ├── expectedCmapEvent-poolClearedEvent-interruptInUseConnections-type.json │ │ │ │ │ ├── expectedCmapEvent-poolClearedEvent-interruptInUseConnections-type.yml │ │ │ │ │ ├── expectedCmapEvent-poolClosedEvent-additionalProperties.json │ │ │ │ │ ├── expectedCmapEvent-poolClosedEvent-additionalProperties.yml │ │ │ │ │ ├── expectedCmapEvent-poolCreatedEvent-additionalProperties.json │ │ │ │ │ ├── expectedCmapEvent-poolCreatedEvent-additionalProperties.yml │ │ │ │ │ ├── expectedCmapEvent-poolReadyEvent-additionalProperties.json │ │ │ │ │ ├── expectedCmapEvent-poolReadyEvent-additionalProperties.yml │ │ │ │ │ ├── expectedCommandEvent-additionalProperties.json │ │ │ │ │ ├── expectedCommandEvent-additionalProperties.yml │ │ │ │ │ ├── expectedCommandEvent-commandFailedEvent-commandName-type.json │ │ │ │ │ ├── expectedCommandEvent-commandFailedEvent-commandName-type.yml │ │ │ │ │ ├── expectedCommandEvent-commandFailedEvent-databaseName-type.json │ │ │ │ │ ├── expectedCommandEvent-commandFailedEvent-databaseName-type.yml │ │ │ │ │ ├── expectedCommandEvent-commandFailedEvent-hasServerConnectionId-type.json │ │ │ │ │ ├── expectedCommandEvent-commandFailedEvent-hasServerConnectionId-type.yml │ │ │ │ │ ├── expectedCommandEvent-commandFailedEvent-hasServiceId-type.json │ │ │ │ │ ├── expectedCommandEvent-commandFailedEvent-hasServiceId-type.yml │ │ │ │ │ ├── expectedCommandEvent-commandStartedEvent-additionalProperties.json │ │ │ │ │ ├── expectedCommandEvent-commandStartedEvent-additionalProperties.yml │ │ │ │ │ ├── expectedCommandEvent-commandStartedEvent-command-type.json │ │ │ │ │ ├── expectedCommandEvent-commandStartedEvent-command-type.yml │ │ │ │ │ ├── expectedCommandEvent-commandStartedEvent-commandName-type.json │ │ │ │ │ ├── expectedCommandEvent-commandStartedEvent-commandName-type.yml │ │ │ │ │ ├── expectedCommandEvent-commandStartedEvent-databaseName-type.json │ │ │ │ │ ├── expectedCommandEvent-commandStartedEvent-databaseName-type.yml │ │ │ │ │ ├── expectedCommandEvent-commandStartedEvent-hasServerConnectionId-type.json │ │ │ │ │ ├── expectedCommandEvent-commandStartedEvent-hasServerConnectionId-type.yml │ │ │ │ │ ├── expectedCommandEvent-commandStartedEvent-hasServiceId-type.json │ │ │ │ │ ├── expectedCommandEvent-commandStartedEvent-hasServiceId-type.yml │ │ │ │ │ ├── expectedCommandEvent-commandSucceededEvent-commandName-type.json │ │ │ │ │ ├── expectedCommandEvent-commandSucceededEvent-commandName-type.yml │ │ │ │ │ ├── expectedCommandEvent-commandSucceededEvent-databaseName-type.json │ │ │ │ │ ├── expectedCommandEvent-commandSucceededEvent-databaseName-type.yml │ │ │ │ │ ├── expectedCommandEvent-commandSucceededEvent-hasServerConnectionId-type.json │ │ │ │ │ ├── expectedCommandEvent-commandSucceededEvent-hasServerConnectionId-type.yml │ │ │ │ │ ├── expectedCommandEvent-commandSucceededEvent-hasServiceId-type.json │ │ │ │ │ ├── expectedCommandEvent-commandSucceededEvent-hasServiceId-type.yml │ │ │ │ │ ├── expectedCommandEvent-commandSucceededEvent-reply-type.json │ │ │ │ │ ├── expectedCommandEvent-commandSucceededEvent-reply-type.yml │ │ │ │ │ ├── expectedCommandEvent-maxProperties.json │ │ │ │ │ ├── expectedCommandEvent-maxProperties.yml │ │ │ │ │ ├── expectedCommandEvent-minProperties.json │ │ │ │ │ ├── expectedCommandEvent-minProperties.yml │ │ │ │ │ ├── expectedError-additionalProperties.json │ │ │ │ │ ├── expectedError-additionalProperties.yml │ │ │ │ │ ├── expectedError-errorCode-type.json │ │ │ │ │ ├── expectedError-errorCode-type.yml │ │ │ │ │ ├── expectedError-errorCodeName-type.json │ │ │ │ │ ├── expectedError-errorCodeName-type.yml │ │ │ │ │ ├── expectedError-errorContains-type.json │ │ │ │ │ ├── expectedError-errorContains-type.yml │ │ │ │ │ ├── expectedError-errorLabelsContain-items.json │ │ │ │ │ ├── expectedError-errorLabelsContain-items.yml │ │ │ │ │ ├── expectedError-errorLabelsContain-minItems.json │ │ │ │ │ ├── expectedError-errorLabelsContain-minItems.yml │ │ │ │ │ ├── expectedError-errorLabelsContain-type.json │ │ │ │ │ ├── expectedError-errorLabelsContain-type.yml │ │ │ │ │ ├── expectedError-errorLabelsOmit-items.json │ │ │ │ │ ├── expectedError-errorLabelsOmit-items.yml │ │ │ │ │ ├── expectedError-errorLabelsOmit-minItems.json │ │ │ │ │ ├── expectedError-errorLabelsOmit-minItems.yml │ │ │ │ │ ├── expectedError-errorLabelsOmit-type.json │ │ │ │ │ ├── expectedError-errorLabelsOmit-type.yml │ │ │ │ │ ├── expectedError-errorResponse-type.json │ │ │ │ │ ├── expectedError-errorResponse-type.yml │ │ │ │ │ ├── expectedError-isClientError-type.json │ │ │ │ │ ├── expectedError-isClientError-type.yml │ │ │ │ │ ├── expectedError-isError-const.json │ │ │ │ │ ├── expectedError-isError-const.yml │ │ │ │ │ ├── expectedError-isError-type.json │ │ │ │ │ ├── expectedError-isError-type.yml │ │ │ │ │ ├── expectedError-isTimeoutError-type.json │ │ │ │ │ ├── expectedError-isTimeoutError-type.yml │ │ │ │ │ ├── expectedError-minProperties.json │ │ │ │ │ ├── expectedError-minProperties.yml │ │ │ │ │ ├── expectedEventsForClient-additionalProperties.json │ │ │ │ │ ├── expectedEventsForClient-additionalProperties.yml │ │ │ │ │ ├── expectedEventsForClient-client-required.json │ │ │ │ │ ├── expectedEventsForClient-client-required.yml │ │ │ │ │ ├── expectedEventsForClient-client-type.json │ │ │ │ │ ├── expectedEventsForClient-client-type.yml │ │ │ │ │ ├── expectedEventsForClient-eventType-enum.json │ │ │ │ │ ├── expectedEventsForClient-eventType-enum.yml │ │ │ │ │ ├── expectedEventsForClient-eventType-type.json │ │ │ │ │ ├── expectedEventsForClient-eventType-type.yml │ │ │ │ │ ├── expectedEventsForClient-events-items.json │ │ │ │ │ ├── expectedEventsForClient-events-items.yml │ │ │ │ │ ├── expectedEventsForClient-events-required.json │ │ │ │ │ ├── expectedEventsForClient-events-required.yml │ │ │ │ │ ├── expectedEventsForClient-events-type.json │ │ │ │ │ ├── expectedEventsForClient-events-type.yml │ │ │ │ │ ├── expectedEventsForClient-events_conflicts_with_cmap_eventType.json │ │ │ │ │ ├── expectedEventsForClient-events_conflicts_with_cmap_eventType.yml │ │ │ │ │ ├── expectedEventsForClient-events_conflicts_with_command_eventType.json │ │ │ │ │ ├── expectedEventsForClient-events_conflicts_with_command_eventType.yml │ │ │ │ │ ├── expectedEventsForClient-events_conflicts_with_default_eventType.json │ │ │ │ │ ├── expectedEventsForClient-events_conflicts_with_default_eventType.yml │ │ │ │ │ ├── expectedEventsForClient-ignoreExtraEvents-type.json │ │ │ │ │ ├── expectedEventsForClient-ignoreExtraEvents-type.yml │ │ │ │ │ ├── expectedLogMessage-additionalProperties.json │ │ │ │ │ ├── expectedLogMessage-additionalProperties.yml │ │ │ │ │ ├── expectedLogMessage-component-enum.json │ │ │ │ │ ├── expectedLogMessage-component-enum.yml │ │ │ │ │ ├── expectedLogMessage-component-required.json │ │ │ │ │ ├── expectedLogMessage-component-required.yml │ │ │ │ │ ├── expectedLogMessage-component-type.json │ │ │ │ │ ├── expectedLogMessage-component-type.yml │ │ │ │ │ ├── expectedLogMessage-data-required.json │ │ │ │ │ ├── expectedLogMessage-data-required.yml │ │ │ │ │ ├── expectedLogMessage-data-type.json │ │ │ │ │ ├── expectedLogMessage-data-type.yml │ │ │ │ │ ├── expectedLogMessage-failureIsRedacted-type.json │ │ │ │ │ ├── expectedLogMessage-failureIsRedacted-type.yml │ │ │ │ │ ├── expectedLogMessage-level-enum.json │ │ │ │ │ ├── expectedLogMessage-level-enum.yml │ │ │ │ │ ├── expectedLogMessage-level-required.json │ │ │ │ │ ├── expectedLogMessage-level-required.yml │ │ │ │ │ ├── expectedLogMessage-level-type.json │ │ │ │ │ ├── expectedLogMessage-level-type.yml │ │ │ │ │ ├── expectedLogMessagesForClient-additionalProperties.json │ │ │ │ │ ├── expectedLogMessagesForClient-additionalProperties.yml │ │ │ │ │ ├── expectedLogMessagesForClient-client-required.json │ │ │ │ │ ├── expectedLogMessagesForClient-client-required.yml │ │ │ │ │ ├── expectedLogMessagesForClient-client-type.json │ │ │ │ │ ├── expectedLogMessagesForClient-client-type.yml │ │ │ │ │ ├── expectedLogMessagesForClient-ignoreExtraMessages-type.json │ │ │ │ │ ├── expectedLogMessagesForClient-ignoreExtraMessages-type.yml │ │ │ │ │ ├── expectedLogMessagesForClient-ignoreMessages-items.json │ │ │ │ │ ├── expectedLogMessagesForClient-ignoreMessages-items.yml │ │ │ │ │ ├── expectedLogMessagesForClient-ignoreMessages-type.json │ │ │ │ │ ├── expectedLogMessagesForClient-ignoreMessages-type.yml │ │ │ │ │ ├── expectedLogMessagesForClient-messages-items.json │ │ │ │ │ ├── expectedLogMessagesForClient-messages-items.yml │ │ │ │ │ ├── expectedLogMessagesForClient-messages-required.json │ │ │ │ │ ├── expectedLogMessagesForClient-messages-required.yml │ │ │ │ │ ├── expectedLogMessagesForClient-messages-type.json │ │ │ │ │ ├── expectedLogMessagesForClient-messages-type.yml │ │ │ │ │ ├── expectedSdamEvent-serverDescriptionChangedEvent-additionalProperties.json │ │ │ │ │ ├── expectedSdamEvent-serverDescriptionChangedEvent-additionalProperties.yml │ │ │ │ │ ├── expectedSdamEvent-serverDescriptionChangedEvent-serverDescription-additionalProperties.json │ │ │ │ │ ├── expectedSdamEvent-serverDescriptionChangedEvent-serverDescription-additionalProperties.yml │ │ │ │ │ ├── expectedSdamEvent-serverDescriptionChangedEvent-serverDescription-type-enum.json │ │ │ │ │ ├── expectedSdamEvent-serverDescriptionChangedEvent-serverDescription-type-enum.yml │ │ │ │ │ ├── expectedSdamEvent-serverDescriptionChangedEvent-serverDescription-type-type.json │ │ │ │ │ ├── expectedSdamEvent-serverDescriptionChangedEvent-serverDescription-type-type.yml │ │ │ │ │ ├── expectedSdamEvent-topologyDescriptionChangedEvent-additionalProperties.json │ │ │ │ │ ├── expectedSdamEvent-topologyDescriptionChangedEvent-additionalProperties.yml │ │ │ │ │ ├── initialData-items.json │ │ │ │ │ ├── initialData-items.yml │ │ │ │ │ ├── initialData-minItems.json │ │ │ │ │ ├── initialData-minItems.yml │ │ │ │ │ ├── initialData-type.json │ │ │ │ │ ├── initialData-type.yml │ │ │ │ │ ├── operation-additionalProperties.json │ │ │ │ │ ├── operation-additionalProperties.yml │ │ │ │ │ ├── operation-arguments-type.json │ │ │ │ │ ├── operation-arguments-type.yml │ │ │ │ │ ├── operation-expectError-conflicts_with_expectResult.json │ │ │ │ │ ├── operation-expectError-conflicts_with_expectResult.yml │ │ │ │ │ ├── operation-expectError-conflicts_with_saveResultAsEntity.json │ │ │ │ │ ├── operation-expectError-conflicts_with_saveResultAsEntity.yml │ │ │ │ │ ├── operation-expectError-type.json │ │ │ │ │ ├── operation-expectError-type.yml │ │ │ │ │ ├── operation-expectEvents-type.json │ │ │ │ │ ├── operation-expectEvents-type.yml │ │ │ │ │ ├── operation-ignoreResultAndError-conflicts_with_expectError.json │ │ │ │ │ ├── operation-ignoreResultAndError-conflicts_with_expectError.yml │ │ │ │ │ ├── operation-ignoreResultAndError-conflicts_with_expectResult.json │ │ │ │ │ ├── operation-ignoreResultAndError-conflicts_with_expectResult.yml │ │ │ │ │ ├── operation-ignoreResultAndError-conflicts_with_saveResultAsEntity.json │ │ │ │ │ ├── operation-ignoreResultAndError-conflicts_with_saveResultAsEntity.yml │ │ │ │ │ ├── operation-name-required.json │ │ │ │ │ ├── operation-name-required.yml │ │ │ │ │ ├── operation-name-type.json │ │ │ │ │ ├── operation-name-type.yml │ │ │ │ │ ├── operation-object-required.json │ │ │ │ │ ├── operation-object-required.yml │ │ │ │ │ ├── operation-object-type.json │ │ │ │ │ ├── operation-object-type.yml │ │ │ │ │ ├── operation-saveResultAsEntity-type.json │ │ │ │ │ ├── operation-saveResultAsEntity-type.yml │ │ │ │ │ ├── runOnRequirement-additionalProperties.json │ │ │ │ │ ├── runOnRequirement-additionalProperties.yml │ │ │ │ │ ├── runOnRequirement-auth-type.json │ │ │ │ │ ├── runOnRequirement-auth-type.yml │ │ │ │ │ ├── runOnRequirement-authMechanism-type.json │ │ │ │ │ ├── runOnRequirement-authMechanism-type.yml │ │ │ │ │ ├── runOnRequirement-csfle-type.json │ │ │ │ │ ├── runOnRequirement-csfle-type.yml │ │ │ │ │ ├── runOnRequirement-maxServerVersion-pattern.json │ │ │ │ │ ├── runOnRequirement-maxServerVersion-pattern.yml │ │ │ │ │ ├── runOnRequirement-maxServerVersion-type.json │ │ │ │ │ ├── runOnRequirement-maxServerVersion-type.yml │ │ │ │ │ ├── runOnRequirement-minProperties.json │ │ │ │ │ ├── runOnRequirement-minProperties.yml │ │ │ │ │ ├── runOnRequirement-minServerVersion-pattern.json │ │ │ │ │ ├── runOnRequirement-minServerVersion-pattern.yml │ │ │ │ │ ├── runOnRequirement-minServerVersion-type.json │ │ │ │ │ ├── runOnRequirement-minServerVersion-type.yml │ │ │ │ │ ├── runOnRequirement-serverless-enum.json │ │ │ │ │ ├── runOnRequirement-serverless-enum.yml │ │ │ │ │ ├── runOnRequirement-serverless-type.json │ │ │ │ │ ├── runOnRequirement-serverless-type.yml │ │ │ │ │ ├── runOnRequirement-topologies-enum.json │ │ │ │ │ ├── runOnRequirement-topologies-enum.yml │ │ │ │ │ ├── runOnRequirement-topologies-items.json │ │ │ │ │ ├── runOnRequirement-topologies-items.yml │ │ │ │ │ ├── runOnRequirement-topologies-minItems.json │ │ │ │ │ ├── runOnRequirement-topologies-minItems.yml │ │ │ │ │ ├── runOnRequirement-topologies-type.json │ │ │ │ │ ├── runOnRequirement-topologies-type.yml │ │ │ │ │ ├── runOnRequirements-items.json │ │ │ │ │ ├── runOnRequirements-items.yml │ │ │ │ │ ├── runOnRequirements-minItems.json │ │ │ │ │ ├── runOnRequirements-minItems.yml │ │ │ │ │ ├── runOnRequirements-type.json │ │ │ │ │ ├── runOnRequirements-type.yml │ │ │ │ │ ├── schemaVersion-pattern.json │ │ │ │ │ ├── schemaVersion-pattern.yml │ │ │ │ │ ├── schemaVersion-required.json │ │ │ │ │ ├── schemaVersion-required.yml │ │ │ │ │ ├── schemaVersion-type.json │ │ │ │ │ ├── schemaVersion-type.yml │ │ │ │ │ ├── storeEventsAsEntity-additionalProperties.json │ │ │ │ │ ├── storeEventsAsEntity-additionalProperties.yml │ │ │ │ │ ├── storeEventsAsEntity-events-enum.json │ │ │ │ │ ├── storeEventsAsEntity-events-enum.yml │ │ │ │ │ ├── storeEventsAsEntity-events-minItems.json │ │ │ │ │ ├── storeEventsAsEntity-events-minItems.yml │ │ │ │ │ ├── storeEventsAsEntity-events-required.json │ │ │ │ │ ├── storeEventsAsEntity-events-required.yml │ │ │ │ │ ├── storeEventsAsEntity-events-type.json │ │ │ │ │ ├── storeEventsAsEntity-events-type.yml │ │ │ │ │ ├── storeEventsAsEntity-id-required.json │ │ │ │ │ ├── storeEventsAsEntity-id-required.yml │ │ │ │ │ ├── storeEventsAsEntity-id-type.json │ │ │ │ │ ├── storeEventsAsEntity-id-type.yml │ │ │ │ │ ├── test-additionalProperties.json │ │ │ │ │ ├── test-additionalProperties.yml │ │ │ │ │ ├── test-description-required.json │ │ │ │ │ ├── test-description-required.yml │ │ │ │ │ ├── test-description-type.json │ │ │ │ │ ├── test-description-type.yml │ │ │ │ │ ├── test-expectEvents-items.json │ │ │ │ │ ├── test-expectEvents-items.yml │ │ │ │ │ ├── test-expectEvents-minItems.json │ │ │ │ │ ├── test-expectEvents-minItems.yml │ │ │ │ │ ├── test-expectEvents-type.json │ │ │ │ │ ├── test-expectEvents-type.yml │ │ │ │ │ ├── test-expectLogMessages-items.json │ │ │ │ │ ├── test-expectLogMessages-items.yml │ │ │ │ │ ├── test-expectLogMessages-minItems.json │ │ │ │ │ ├── test-expectLogMessages-minItems.yml │ │ │ │ │ ├── test-expectLogMessages-type.json │ │ │ │ │ ├── test-expectLogMessages-type.yml │ │ │ │ │ ├── test-operations-items.json │ │ │ │ │ ├── test-operations-items.yml │ │ │ │ │ ├── test-operations-required.json │ │ │ │ │ ├── test-operations-required.yml │ │ │ │ │ ├── test-operations-type.json │ │ │ │ │ ├── test-operations-type.yml │ │ │ │ │ ├── test-outcome-items.json │ │ │ │ │ ├── test-outcome-items.yml │ │ │ │ │ ├── test-outcome-minItems.json │ │ │ │ │ ├── test-outcome-minItems.yml │ │ │ │ │ ├── test-outcome-type.json │ │ │ │ │ ├── test-outcome-type.yml │ │ │ │ │ ├── test-runOnRequirements-items.json │ │ │ │ │ ├── test-runOnRequirements-items.yml │ │ │ │ │ ├── test-runOnRequirements-minItems.json │ │ │ │ │ ├── test-runOnRequirements-minItems.yml │ │ │ │ │ ├── test-runOnRequirements-type.json │ │ │ │ │ ├── test-runOnRequirements-type.yml │ │ │ │ │ ├── test-skipReason-type.json │ │ │ │ │ ├── test-skipReason-type.yml │ │ │ │ │ ├── tests-items.json │ │ │ │ │ ├── tests-items.yml │ │ │ │ │ ├── tests-minItems.json │ │ │ │ │ ├── tests-minItems.yml │ │ │ │ │ ├── tests-required.json │ │ │ │ │ ├── tests-required.yml │ │ │ │ │ ├── tests-type.json │ │ │ │ │ └── tests-type.yml │ │ │ │ ├── valid-fail │ │ │ │ │ ├── assertNumberConnectionsCheckedOut.json │ │ │ │ │ ├── assertNumberConnectionsCheckedOut.yml │ │ │ │ │ ├── entity-bucket-database-undefined.json │ │ │ │ │ ├── entity-bucket-database-undefined.yml │ │ │ │ │ ├── entity-client-apiVersion-unsupported.json │ │ │ │ │ ├── entity-client-apiVersion-unsupported.yml │ │ │ │ │ ├── entity-client-storeEventsAsEntities-conflict_with_client_id.json │ │ │ │ │ ├── entity-client-storeEventsAsEntities-conflict_with_client_id.yml │ │ │ │ │ ├── entity-client-storeEventsAsEntities-conflict_within_different_array.json │ │ │ │ │ ├── entity-client-storeEventsAsEntities-conflict_within_different_array.yml │ │ │ │ │ ├── entity-client-storeEventsAsEntities-conflict_within_same_array.json │ │ │ │ │ ├── entity-client-storeEventsAsEntities-conflict_within_same_array.yml │ │ │ │ │ ├── entity-collection-database-undefined.json │ │ │ │ │ ├── entity-collection-database-undefined.yml │ │ │ │ │ ├── entity-database-client-undefined.json │ │ │ │ │ ├── entity-database-client-undefined.yml │ │ │ │ │ ├── entity-findCursor-malformed.json │ │ │ │ │ ├── entity-findCursor-malformed.yml │ │ │ │ │ ├── entity-findCursor.json │ │ │ │ │ ├── entity-findCursor.yml │ │ │ │ │ ├── entity-session-client-undefined.json │ │ │ │ │ ├── entity-session-client-undefined.yml │ │ │ │ │ ├── ignoreResultAndError-malformed.json │ │ │ │ │ ├── ignoreResultAndError-malformed.yml │ │ │ │ │ ├── ignoreResultAndError.json │ │ │ │ │ ├── ignoreResultAndError.yml │ │ │ │ │ ├── kmsProviders-missing_aws_kms_credentials.json │ │ │ │ │ ├── kmsProviders-missing_aws_kms_credentials.yml │ │ │ │ │ ├── kmsProviders-missing_azure_kms_credentials.json │ │ │ │ │ ├── kmsProviders-missing_azure_kms_credentials.yml │ │ │ │ │ ├── kmsProviders-missing_gcp_kms_credentials.json │ │ │ │ │ ├── kmsProviders-missing_gcp_kms_credentials.yml │ │ │ │ │ ├── kmsProviders-no_kms.json │ │ │ │ │ ├── kmsProviders-no_kms.yml │ │ │ │ │ ├── operation-failure.json │ │ │ │ │ ├── operation-failure.yml │ │ │ │ │ ├── operation-unsupported.json │ │ │ │ │ ├── operation-unsupported.yml │ │ │ │ │ ├── operator-matchAsDocument.json │ │ │ │ │ ├── operator-matchAsDocument.yml │ │ │ │ │ ├── operator-matchAsRoot.json │ │ │ │ │ ├── operator-matchAsRoot.yml │ │ │ │ │ ├── returnDocument-enum-invalid.json │ │ │ │ │ ├── returnDocument-enum-invalid.yml │ │ │ │ │ ├── schemaVersion-unsupported.json │ │ │ │ │ └── schemaVersion-unsupported.yml │ │ │ │ └── valid-pass │ │ │ │ │ ├── assertNumberConnectionsCheckedOut.json │ │ │ │ │ ├── assertNumberConnectionsCheckedOut.yml │ │ │ │ │ ├── collectionData-createOptions.json │ │ │ │ │ ├── collectionData-createOptions.yml │ │ │ │ │ ├── createEntities-operation.json │ │ │ │ │ ├── createEntities-operation.yml │ │ │ │ │ ├── entity-client-cmap-events.json │ │ │ │ │ ├── entity-client-cmap-events.yml │ │ │ │ │ ├── entity-client-storeEventsAsEntities.json │ │ │ │ │ ├── entity-client-storeEventsAsEntities.yml │ │ │ │ │ ├── entity-commandCursor.json │ │ │ │ │ ├── entity-commandCursor.yml │ │ │ │ │ ├── entity-cursor-iterateOnce.json │ │ │ │ │ ├── entity-cursor-iterateOnce.yml │ │ │ │ │ ├── entity-find-cursor.json │ │ │ │ │ ├── entity-find-cursor.yml │ │ │ │ │ ├── expectedError-errorResponse.json │ │ │ │ │ ├── expectedError-errorResponse.yml │ │ │ │ │ ├── expectedError-isClientError.json │ │ │ │ │ ├── expectedError-isClientError.yml │ │ │ │ │ ├── expectedEventsForClient-eventType.json │ │ │ │ │ ├── expectedEventsForClient-eventType.yml │ │ │ │ │ ├── expectedEventsForClient-ignoreExtraEvents.json │ │ │ │ │ ├── expectedEventsForClient-ignoreExtraEvents.yml │ │ │ │ │ ├── expectedEventsForClient-topologyDescriptionChangedEvent.json │ │ │ │ │ ├── expectedEventsForClient-topologyDescriptionChangedEvent.yml │ │ │ │ │ ├── ignoreResultAndError.json │ │ │ │ │ ├── ignoreResultAndError.yml │ │ │ │ │ ├── kmsProviders-explicit_kms_credentials.json │ │ │ │ │ ├── kmsProviders-explicit_kms_credentials.yml │ │ │ │ │ ├── kmsProviders-mixed_kms_credential_fields.json │ │ │ │ │ ├── kmsProviders-mixed_kms_credential_fields.yml │ │ │ │ │ ├── kmsProviders-placeholder_kms_credentials.json │ │ │ │ │ ├── kmsProviders-placeholder_kms_credentials.yml │ │ │ │ │ ├── kmsProviders-unconfigured_kms.json │ │ │ │ │ ├── kmsProviders-unconfigured_kms.yml │ │ │ │ │ ├── observeSensitiveCommands.json │ │ │ │ │ ├── observeSensitiveCommands.yml │ │ │ │ │ ├── operation-empty_array.json │ │ │ │ │ ├── operation-empty_array.yml │ │ │ │ │ ├── operator-lte.json │ │ │ │ │ ├── operator-lte.yml │ │ │ │ │ ├── operator-matchAsDocument.json │ │ │ │ │ ├── operator-matchAsDocument.yml │ │ │ │ │ ├── operator-matchAsRoot.json │ │ │ │ │ ├── operator-matchAsRoot.yml │ │ │ │ │ ├── operator-type-number_alias.json │ │ │ │ │ ├── operator-type-number_alias.yml │ │ │ │ │ ├── poc-change-streams.json │ │ │ │ │ ├── poc-change-streams.yml │ │ │ │ │ ├── poc-command-monitoring.json │ │ │ │ │ ├── poc-command-monitoring.yml │ │ │ │ │ ├── poc-crud.json │ │ │ │ │ ├── poc-crud.yml │ │ │ │ │ ├── poc-gridfs.json │ │ │ │ │ ├── poc-gridfs.yml │ │ │ │ │ ├── poc-queryable-encryption.json │ │ │ │ │ ├── poc-queryable-encryption.yml │ │ │ │ │ ├── poc-retryable-reads.json │ │ │ │ │ ├── poc-retryable-reads.yml │ │ │ │ │ ├── poc-retryable-writes.json │ │ │ │ │ ├── poc-retryable-writes.yml │ │ │ │ │ ├── poc-sessions.json │ │ │ │ │ ├── poc-sessions.yml │ │ │ │ │ ├── poc-transactions-convenient-api.json │ │ │ │ │ ├── poc-transactions-convenient-api.yml │ │ │ │ │ ├── poc-transactions-mongos-pin-auto.json │ │ │ │ │ ├── poc-transactions-mongos-pin-auto.yml │ │ │ │ │ ├── poc-transactions.json │ │ │ │ │ └── poc-transactions.yml │ │ │ ├── uri-options │ │ │ │ ├── README.rst │ │ │ │ ├── auth-options.json │ │ │ │ ├── auth-options.yml │ │ │ │ ├── ca.pem │ │ │ │ ├── cert.pem │ │ │ │ ├── client.pem │ │ │ │ ├── compression-options.json │ │ │ │ ├── compression-options.yml │ │ │ │ ├── concern-options.json │ │ │ │ ├── concern-options.yml │ │ │ │ ├── connection-options.json │ │ │ │ ├── connection-options.yml │ │ │ │ ├── connection-pool-options.json │ │ │ │ ├── connection-pool-options.yml │ │ │ │ ├── read-preference-options.json │ │ │ │ ├── read-preference-options.yml │ │ │ │ ├── sdam-options.json │ │ │ │ ├── sdam-options.yml │ │ │ │ ├── single-threaded-options.json │ │ │ │ ├── single-threaded-options.yml │ │ │ │ ├── srv-options.json │ │ │ │ ├── srv-options.yml │ │ │ │ ├── tls-options.json │ │ │ │ └── tls-options.yml │ │ │ └── versioned-api │ │ │ │ ├── README.rst │ │ │ │ ├── crud-api-version-1-strict.json │ │ │ │ ├── crud-api-version-1-strict.yml │ │ │ │ ├── crud-api-version-1.json │ │ │ │ ├── crud-api-version-1.yml │ │ │ │ ├── runcommand-helper-no-api-version-declared.json │ │ │ │ ├── runcommand-helper-no-api-version-declared.yml │ │ │ │ ├── test-commands-deprecation-errors.json │ │ │ │ ├── test-commands-deprecation-errors.yml │ │ │ │ ├── test-commands-strict-mode.json │ │ │ │ ├── test-commands-strict-mode.yml │ │ │ │ ├── transaction-handling.json │ │ │ │ └── transaction-handling.yml │ │ ├── load_balancers.rs │ │ ├── oidc.rs │ │ ├── read_write_concern.rs │ │ ├── read_write_concern │ │ │ ├── connection_string.rs │ │ │ └── document.rs │ │ ├── retryable_reads.rs │ │ ├── retryable_writes.rs │ │ ├── run_command.rs │ │ ├── sdam.rs │ │ ├── sessions.rs │ │ ├── sessions │ │ │ └── sessions_not_supported.rs │ │ ├── trace.rs │ │ ├── transactions.rs │ │ ├── unified_runner.rs │ │ ├── unified_runner │ │ │ ├── entity.rs │ │ │ ├── matcher.rs │ │ │ ├── operation.rs │ │ │ ├── operation │ │ │ │ ├── bulk_write.rs │ │ │ │ ├── collection.rs │ │ │ │ ├── command.rs │ │ │ │ ├── connection.rs │ │ │ │ ├── count.rs │ │ │ │ ├── csfle.rs │ │ │ │ ├── delete.rs │ │ │ │ ├── failpoint.rs │ │ │ │ ├── find.rs │ │ │ │ ├── gridfs.rs │ │ │ │ ├── index.rs │ │ │ │ ├── insert.rs │ │ │ │ ├── iteration.rs │ │ │ │ ├── list.rs │ │ │ │ ├── rename.rs │ │ │ │ ├── search_index.rs │ │ │ │ ├── session.rs │ │ │ │ ├── thread.rs │ │ │ │ ├── topology.rs │ │ │ │ ├── transaction.rs │ │ │ │ ├── update.rs │ │ │ │ └── wait.rs │ │ │ ├── test_event.rs │ │ │ ├── test_file.rs │ │ │ └── test_runner.rs │ │ ├── v2_runner.rs │ │ ├── v2_runner │ │ │ ├── csfle.rs │ │ │ ├── operation.rs │ │ │ ├── test_event.rs │ │ │ └── test_file.rs │ │ ├── versioned_api.rs │ │ └── write_error.rs │ ├── timeseries.rs │ ├── util.rs │ └── util │ │ ├── event.rs │ │ ├── event_buffer.rs │ │ ├── fail_point.rs │ │ ├── matchable.rs │ │ └── trace.rs ├── trace.rs ├── trace │ ├── command.rs │ ├── connection.rs │ ├── server_selection.rs │ └── topology.rs └── tracking_arc.rs └── tests ├── connection_snippets.rs ├── readme_examples.rs └── transactions_example.rs /.config/nextest.toml: -------------------------------------------------------------------------------- 1 | [profile.default] 2 | test-threads = 1 3 | default-filter = 'not test(skip_local) and not test(skip_ci)' 4 | 5 | [profile.ci] 6 | failure-output = "final" 7 | test-threads = 1 8 | fail-fast = false 9 | default-filter = 'not test(skip_ci)' 10 | 11 | [profile.ci.junit] 12 | path = "junit.xml" 13 | -------------------------------------------------------------------------------- /.evergreen/aws-ecs-test/.gitignore: -------------------------------------------------------------------------------- 1 | Cargo.lock 2 | target 3 | -------------------------------------------------------------------------------- /.evergreen/aws-ecs-test/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "aws-ecs-test" 3 | version = "0.1.0" 4 | authors = ["Saghm Rossi "] 5 | edition = "2018" 6 | 7 | [dependencies] 8 | tokio = "1.0.2" 9 | 10 | [dependencies.mongodb] 11 | path = "../.." 12 | features = ["aws-auth"] 13 | -------------------------------------------------------------------------------- /.evergreen/aws-ecs-test/src/main.rs: -------------------------------------------------------------------------------- 1 | use mongodb::{ 2 | bson::{doc, Document}, 3 | Client, 4 | }; 5 | 6 | #[tokio::main] 7 | async fn main() { 8 | let uri = std::env::var("MONGODB_URI").expect("no URI given!"); 9 | let client = Client::with_uri_str(&uri).await.unwrap(); 10 | 11 | client 12 | .database("aws") 13 | .collection::("somecoll") 14 | .find_one(doc! {}) 15 | .await 16 | .unwrap(); 17 | } 18 | -------------------------------------------------------------------------------- /.evergreen/azure-kms-test/.gitignore: -------------------------------------------------------------------------------- 1 | Cargo.lock 2 | target 3 | -------------------------------------------------------------------------------- /.evergreen/azure-kms-test/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "azure-kms-test" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 7 | 8 | [dependencies] 9 | tokio = "1.28.1" 10 | 11 | [dependencies.mongodb] 12 | path = "../.." 13 | features = ["in-use-encryption", "azure-kms"] 14 | -------------------------------------------------------------------------------- /.evergreen/check-all.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o errexit 4 | 5 | # Note: This script must run from root, or it won't check src/ files correctly. 6 | EVERGREEN_DIR=".evergreen" 7 | 8 | bash "${EVERGREEN_DIR}/check-clippy.sh" 9 | bash "${EVERGREEN_DIR}/check-rustdoc.sh" 10 | bash "${EVERGREEN_DIR}/check-rustfmt.sh" 11 | bash "${EVERGREEN_DIR}/check-cargo-deny.sh" 12 | -------------------------------------------------------------------------------- /.evergreen/check-cargo-deny.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o errexit 4 | set -o xtrace 5 | 6 | source ./.evergreen/env.sh 7 | 8 | cargo install --locked cargo-deny 9 | cargo deny --all-features check 10 | -------------------------------------------------------------------------------- /.evergreen/check-rustfmt.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o errexit 4 | 5 | source ./.evergreen/env.sh 6 | rustfmt +nightly --unstable-features --check src/**/*.rs 7 | rustfmt +nightly --unstable-features --check src/*.rs 8 | -------------------------------------------------------------------------------- /.evergreen/create-ssdlc-compliance-report.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o errexit 4 | set -o xtrace 5 | 6 | REPORT_FILE=".evergreen/${CRATE_VERSION}-ssdlc-compliance-report.md" 7 | SED_REPLACE="s/RELEASE_VERSION/${CRATE_VERSION}/g" 8 | 9 | sed ${SED_REPLACE} .evergreen/ssdlc-compliance-report-template.md > ${REPORT_FILE} 10 | -------------------------------------------------------------------------------- /.evergreen/fetch-drivers-tools.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o errexit 4 | 5 | if [[ -z "$DRIVERS_TOOLS" ]]; then 6 | echo >&2 "\$DRIVERS_TOOLS must be set" 7 | exit 1 8 | fi 9 | 10 | rm -rf $DRIVERS_TOOLS 11 | git clone https://github.com/mongodb-labs/drivers-evergreen-tools.git $DRIVERS_TOOLS 12 | -------------------------------------------------------------------------------- /.evergreen/find-python3.sh: -------------------------------------------------------------------------------- 1 | source ${DRIVERS_TOOLS}/.evergreen/find-python3.sh 2 | PYTHON3=$(find_python3) 3 | 4 | cat <python3.yml 5 | PYTHON3: "${PYTHON3}" 6 | EOT -------------------------------------------------------------------------------- /.evergreen/generate-tasks/.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | -------------------------------------------------------------------------------- /.evergreen/generate-tasks/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "generate-tasks" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 7 | 8 | [dependencies] 9 | -------------------------------------------------------------------------------- /.evergreen/release-fetch-tag.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o errexit 4 | 5 | if [[ -z "$GIT_TAG" ]]; then 6 | echo >&2 "\$GIT_TAG must be set to the git tag of the release" 7 | exit 1 8 | fi 9 | 10 | git fetch origin tag $GIT_TAG --no-tags 11 | git checkout $GIT_TAG 12 | -------------------------------------------------------------------------------- /.evergreen/run-aws-lambda-test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Needed for cargo-lambda 4 | pip3 install ziglang 5 | 6 | source ${PROJECT_DIRECTORY}/.cargo/env 7 | rustup default stable 8 | 9 | ${DRIVERS_TOOLS}/.evergreen/aws_lambda/run-deployed-lambda-aws-tests.sh -------------------------------------------------------------------------------- /.evergreen/run-bson-benchmarks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o errexit 4 | 5 | source ./.evergreen/env.sh 6 | 7 | cd benchmarks 8 | cargo run \ 9 | --release \ 10 | -- --output="../benchmark-results.json" --bson 11 | 12 | cat ../benchmark-results.json 13 | -------------------------------------------------------------------------------- /.evergreen/run-driver-benchmark-unresponsive.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o errexit 4 | 5 | source ./.evergreen/env.sh 6 | 7 | cd benchmarks 8 | cargo run \ 9 | --release \ 10 | -- --output="../benchmark-results.json" -i 21 11 | 12 | cat ../benchmark-results.json 13 | -------------------------------------------------------------------------------- /.evergreen/run-driver-benchmarks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o errexit 4 | 5 | source ./.evergreen/env.sh 6 | 7 | cd benchmarks 8 | cargo run \ 9 | --release \ 10 | -- --output="../benchmark-results.json" --driver 11 | 12 | cat ../benchmark-results.json 13 | -------------------------------------------------------------------------------- /.evergreen/run-happy-eyeballs-tests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o errexit 4 | set -o pipefail 5 | 6 | source .evergreen/env.sh 7 | source .evergreen/cargo-test.sh 8 | 9 | CARGO_OPTIONS+=("--ignore-default-filter") 10 | 11 | set +o errexit 12 | 13 | cargo_test "test::happy_eyeballs" 14 | exit $CARGO_RESULT -------------------------------------------------------------------------------- /.evergreen/run-mongodb-aws-ecs-test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -o xtrace # Write all commands first to stderr 3 | set -o errexit # Exit the script with error if any of the commands fail 4 | 5 | MONGODB_URI="$1" 6 | 7 | MONGODB_URI=$MONGODB_URI /root/src/aws-ecs-test 8 | -------------------------------------------------------------------------------- /.evergreen/run-search-index-test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o errexit 4 | set -o pipefail 5 | 6 | source ./.evergreen/env.sh 7 | source .evergreen/cargo-test.sh 8 | 9 | CARGO_OPTIONS+=("--ignore-default-filter") 10 | 11 | set -o xtrace 12 | 13 | set +o errexit 14 | 15 | cargo_test test::index_management::search_index 16 | 17 | exit ${CARGO_RESULT} 18 | -------------------------------------------------------------------------------- /.evergreen/run-sync-tests.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -o errexit 4 | set -o pipefail 5 | 6 | source .evergreen/env.sh 7 | source .evergreen/cargo-test.sh 8 | 9 | FEATURE_FLAGS+=("sync") 10 | 11 | echo "cargo test options: $(cargo_test_options)" 12 | 13 | set +o errexit 14 | 15 | cargo_test sync 16 | 17 | exit $CARGO_RESULT 18 | -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | # Listing code owners is required by DRIVERS-3098 2 | * @mongodb/dbx-rust 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.swp 2 | *.tmp 3 | *.o 4 | *~ 5 | /target/ 6 | **/*.rs.bk 7 | .idea 8 | *.iml 9 | .vscode 10 | **/.DS_Store 11 | # we install cargo and rustup in the project directory on Evergreen. 12 | .cargo 13 | .rustup 14 | mongocryptd.pid 15 | semgrep/ 16 | sarif.json 17 | .secrets 18 | -------------------------------------------------------------------------------- /.semgrepignore: -------------------------------------------------------------------------------- 1 | benchmarks/ 2 | src/test/ 3 | etc/ -------------------------------------------------------------------------------- /benchmarks/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | **/*.rs.bk 3 | /data -------------------------------------------------------------------------------- /benchmarks/download-data.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | fetch_data_file() { 4 | echo "Fetching $1.tgz from github..." 5 | 6 | curl --retry 5 "https://raw.githubusercontent.com/mongodb/specifications/master/source/benchmarking/data/$1.tgz" --max-time 120 --remote-name --silent 7 | mkdir -p data 8 | tar xf "$1.tgz" 9 | mv "$1" data 10 | rm "$1.tgz" 11 | } 12 | 13 | fetch_data_file extended_bson 14 | fetch_data_file parallel 15 | fetch_data_file single_and_multi_document 16 | -------------------------------------------------------------------------------- /benchmarks/rustfmt.toml: -------------------------------------------------------------------------------- 1 | ../rustfmt.toml -------------------------------------------------------------------------------- /clippy.toml: -------------------------------------------------------------------------------- 1 | msrv = "1.81.0" 2 | -------------------------------------------------------------------------------- /docs/manual/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Moved 7 | 8 | 9 | 10 | The MongoDB Rust Driver documentation has moved to the 11 | official MongoDB docs site. Please update your bookmarks. 12 | 13 | 14 | -------------------------------------------------------------------------------- /etc/change_stream_legacy/.gitignore: -------------------------------------------------------------------------------- 1 | /target -------------------------------------------------------------------------------- /etc/change_stream_legacy/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "change_stream_legacy" 3 | authors = ["Abraham Egnor "] 4 | version = "0.1.0" 5 | edition = "2021" 6 | 7 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 8 | 9 | [dependencies] 10 | serde = { version = "1.0", features = ["derive"] } 11 | serde_with = "1.11" 12 | serde_yaml = "0.8" 13 | clap = { version = "3.0.13", features = ["derive"] } -------------------------------------------------------------------------------- /etc/update_version/.gitignore: -------------------------------------------------------------------------------- 1 | /target -------------------------------------------------------------------------------- /etc/update_version/Cargo.toml: -------------------------------------------------------------------------------- 1 | [package] 2 | name = "update_version" 3 | version = "0.1.0" 4 | edition = "2021" 5 | 6 | # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 7 | 8 | [dependencies] 9 | argh = "0.1.12" 10 | regex = "1.10.2" 11 | -------------------------------------------------------------------------------- /etc/wasmedge/.cargo/config.toml: -------------------------------------------------------------------------------- 1 | [build] 2 | target = "wasm32-wasi" 3 | rustflags = ["--cfg", "wasmedge", "--cfg", "tokio_unstable"] -------------------------------------------------------------------------------- /etc/wasmedge/.gitignore: -------------------------------------------------------------------------------- 1 | target/ 2 | Cargo.lock 3 | -------------------------------------------------------------------------------- /etc/wasmedge/README.md: -------------------------------------------------------------------------------- 1 | Please note: using the MongoDB Rust driver on WasmEdge is unsupported! 2 | 3 | This example program requires: 4 | * WasmEdge (https://wasmedge.org/docs/start/install/) 5 | * The Rust wasm toolchain (`rustup target add wasm32-wasi`) 6 | 7 | To compile: `cargo build --target wasm32-wasi --release` 8 | 9 | To run: `wasmedge target/wasm32-wasi/release/wasmedge_mongodb.wasm` -------------------------------------------------------------------------------- /etc/wasmedge/src/main.rs: -------------------------------------------------------------------------------- 1 | #[tokio::main(flavor = "current_thread")] 2 | async fn main() { 3 | let client = mongodb::Client::with_uri_str("mongodb://127.0.0.1:27017") 4 | .await 5 | .unwrap(); 6 | println!("{:?}", client.list_database_names().await); 7 | } 8 | -------------------------------------------------------------------------------- /macros/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /rustfmt.toml: -------------------------------------------------------------------------------- 1 | edition = "2021" 2 | combine_control_expr = false 3 | comment_width = 100 4 | condense_wildcard_suffixes = true 5 | format_strings = true 6 | use_try_shorthand = true 7 | wrap_comments = true 8 | imports_layout = "HorizontalVertical" 9 | imports_granularity = "Crate" 10 | ignore = ["src/lib.rs"] 11 | -------------------------------------------------------------------------------- /sbom.json: -------------------------------------------------------------------------------- 1 | { 2 | "serialNumber": "urn:uuid:32a42d94-3729-4ef1-8c0c-8c6f9f9e0f53", 3 | "version": 1, 4 | "$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json", 5 | "bomFormat": "CycloneDX", 6 | "specVersion": "1.5", 7 | "metadata": { 8 | "timestamp": "2024-05-01T15:43:13Z" 9 | } 10 | } -------------------------------------------------------------------------------- /src/action/csfle.rs: -------------------------------------------------------------------------------- 1 | //! Action builders for in-use encryption. 2 | 3 | mod create_data_key; 4 | mod create_encrypted_collection; 5 | pub(crate) mod encrypt; 6 | 7 | pub use create_data_key::{CreateDataKey, DataKeyOptions}; 8 | pub use create_encrypted_collection::CreateEncryptedCollection; 9 | pub use encrypt::{Encrypt, EncryptOptions}; 10 | -------------------------------------------------------------------------------- /src/action/gridfs.rs: -------------------------------------------------------------------------------- 1 | //! Action builders for gridfs. 2 | 3 | mod delete; 4 | mod download; 5 | mod drop; 6 | mod find; 7 | mod rename; 8 | mod upload; 9 | 10 | pub use delete::{Delete, DeleteByName}; 11 | pub use download::{OpenDownloadStream, OpenDownloadStreamByName}; 12 | pub use drop::Drop; 13 | pub use find::{Find, FindOne}; 14 | pub use rename::{Rename, RenameByName}; 15 | pub use upload::OpenUploadStream; 16 | -------------------------------------------------------------------------------- /src/client/action.rs: -------------------------------------------------------------------------------- 1 | pub(crate) mod perf; 2 | pub(crate) mod shutdown; 3 | -------------------------------------------------------------------------------- /src/cmap/conn/wire.rs: -------------------------------------------------------------------------------- 1 | mod header; 2 | pub(crate) mod message; 3 | mod util; 4 | 5 | pub(crate) use self::{ 6 | message::{Message, MessageFlags}, 7 | util::next_request_id, 8 | }; 9 | -------------------------------------------------------------------------------- /src/coll/action.rs: -------------------------------------------------------------------------------- 1 | mod drop; 2 | -------------------------------------------------------------------------------- /src/db/action.rs: -------------------------------------------------------------------------------- 1 | pub(crate) mod create_collection; 2 | -------------------------------------------------------------------------------- /src/sdam/description.rs: -------------------------------------------------------------------------------- 1 | pub(crate) mod server; 2 | pub(crate) mod topology; 3 | -------------------------------------------------------------------------------- /src/sdam/description/topology/test.rs: -------------------------------------------------------------------------------- 1 | mod event; 2 | mod rtt; 3 | mod sdam; 4 | 5 | use std::time::Duration; 6 | 7 | pub use event::TestSdamEvent; 8 | 9 | #[allow(clippy::cast_possible_truncation)] 10 | pub(crate) fn f64_ms_as_duration(f: f64) -> Duration { 11 | Duration::from_micros((f * 1000.0) as u64) 12 | } 13 | -------------------------------------------------------------------------------- /src/test/lambda_examples.rs: -------------------------------------------------------------------------------- 1 | #![allow(dead_code)] 2 | 3 | #[cfg(feature = "aws-auth")] 4 | mod auth; 5 | mod no_auth; 6 | -------------------------------------------------------------------------------- /src/test/spec/collection_management.rs: -------------------------------------------------------------------------------- 1 | use crate::test::spec::unified_runner::run_unified_tests; 2 | 3 | #[tokio::test] 4 | async fn run_unified() { 5 | run_unified_tests(&["collection-management"]) 6 | // The driver does not support modifyCollection. 7 | .skip_files(&["modifyCollection-pre_and_post_images.json", "modifyCollection-errorResponse.json"]) 8 | .await; 9 | } 10 | -------------------------------------------------------------------------------- /src/test/spec/json/collection-management/README.rst: -------------------------------------------------------------------------------- 1 | =========================== 2 | Collection Management Tests 3 | =========================== 4 | 5 | This directory contains tests for collection management. They are implemented 6 | in the `Unified Test Format <../../unified-test-format/unified-test-format.rst>`__. 7 | -------------------------------------------------------------------------------- /src/test/spec/json/command-monitoring/README.rst: -------------------------------------------------------------------------------- 1 | .. role:: javascript(code) 2 | :language: javascript 3 | 4 | ================== 5 | Command Monitoring 6 | ================== 7 | 8 | .. contents:: 9 | 10 | -------- 11 | 12 | Testing 13 | ======= 14 | 15 | Tests in ``unified`` are implemented in the `Unified Test Format <../../unified-test-format/unified-test-format.rst>`__. 16 | -------------------------------------------------------------------------------- /src/test/spec/json/connection-monitoring-and-pooling/cmap-format/pool-clear-paused.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | style: unit 3 | description: clearing a paused pool emits no events 4 | operations: 5 | - name: clear 6 | - name: ready 7 | - name: clear 8 | - name: clear 9 | events: 10 | - type: ConnectionPoolReady 11 | address: 42 12 | - type: ConnectionPoolCleared 13 | address: 42 14 | ignore: 15 | - ConnectionPoolCreated 16 | -------------------------------------------------------------------------------- /src/test/spec/json/connection-monitoring-and-pooling/cmap-format/pool-close.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | style: unit 3 | description: must be able to manually close a pool 4 | operations: 5 | - name: close 6 | events: 7 | - type: ConnectionPoolCreated 8 | address: 42 9 | options: 42 10 | - type: ConnectionPoolClosed 11 | address: 42 12 | -------------------------------------------------------------------------------- /src/test/spec/json/connection-monitoring-and-pooling/cmap-format/pool-create.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 1, 3 | "style": "unit", 4 | "description": "must be able to create a pool", 5 | "operations": [ 6 | { 7 | "name": "waitForEvent", 8 | "event": "ConnectionPoolCreated", 9 | "count": 1 10 | } 11 | ], 12 | "events": [ 13 | { 14 | "type": "ConnectionPoolCreated", 15 | "address": 42, 16 | "options": 42 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /src/test/spec/json/connection-monitoring-and-pooling/cmap-format/pool-create.yml: -------------------------------------------------------------------------------- 1 | version: 1 2 | style: unit 3 | description: must be able to create a pool 4 | operations: 5 | - name: waitForEvent 6 | event: ConnectionPoolCreated 7 | count: 1 8 | events: 9 | - type: ConnectionPoolCreated 10 | address: 42 11 | options: 42 12 | 13 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/loadBalanced-directConnection.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test24.test.build.10gen.cc/?directConnection=false", 3 | "seeds": [ 4 | "localhost.test.build.10gen.cc:8000" 5 | ], 6 | "hosts": [ 7 | "localhost.test.build.10gen.cc:8000" 8 | ], 9 | "options": { 10 | "loadBalanced": true, 11 | "ssl": true, 12 | "directConnection": false 13 | }, 14 | "ping": true 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/loadBalanced-no-results.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test4.test.build.10gen.cc/?loadBalanced=true", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because no SRV records are present for this URI." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/loadBalanced-no-results.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test4.test.build.10gen.cc/?loadBalanced=true" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because no SRV records are present for this URI. 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/loadBalanced-replicaSet-errors.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test24.test.build.10gen.cc/?replicaSet=replset", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because loadBalanced=true is incompatible with replicaSet" 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/loadBalanced-replicaSet-errors.yml: -------------------------------------------------------------------------------- 1 | # The TXT record for test24.test.build.10gen.cc contains loadBalanced=true. 2 | uri: "mongodb+srv://test24.test.build.10gen.cc/?replicaSet=replset" 3 | seeds: [] 4 | hosts: [] 5 | error: true 6 | comment: Should fail because loadBalanced=true is incompatible with replicaSet 7 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/loadBalanced-true-multiple-hosts.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test1.test.build.10gen.cc/?loadBalanced=true", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because loadBalanced is true but the SRV record resolves to multiple hosts" 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/loadBalanced-true-multiple-hosts.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test1.test.build.10gen.cc/?loadBalanced=true" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because loadBalanced is true but the SRV record resolves to multiple hosts 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/loadBalanced-true-txt.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test24.test.build.10gen.cc/", 3 | "seeds": [ 4 | "localhost.test.build.10gen.cc:8000" 5 | ], 6 | "hosts": [ 7 | "localhost.test.build.10gen.cc:8000" 8 | ], 9 | "options": { 10 | "loadBalanced": true, 11 | "ssl": true 12 | }, 13 | "ping": true 14 | } 15 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/loadBalanced-true-txt.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test24.test.build.10gen.cc/" 2 | seeds: 3 | - localhost.test.build.10gen.cc:8000 4 | hosts: 5 | # In LB mode, the driver does not do server discovery, so the hostname does 6 | # not get resolved to localhost:8000. 7 | - localhost.test.build.10gen.cc:8000 8 | options: 9 | loadBalanced: true 10 | ssl: true 11 | ping: true 12 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true-txt.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test24.test.build.10gen.cc/?srvMaxHosts=1", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because positive integer for srvMaxHosts conflicts with loadBalanced=true (TXT)" 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true-txt.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test24.test.build.10gen.cc/?srvMaxHosts=1" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because positive integer for srvMaxHosts conflicts with loadBalanced=true (TXT) 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test3.test.build.10gen.cc/?loadBalanced=true&srvMaxHosts=1", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because positive integer for srvMaxHosts conflicts with loadBalanced=true" 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/srvMaxHosts-conflicts_with_loadBalanced-true.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test3.test.build.10gen.cc/?loadBalanced=true&srvMaxHosts=1" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because positive integer for srvMaxHosts conflicts with loadBalanced=true 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/srvMaxHosts-zero-txt.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test24.test.build.10gen.cc/?srvMaxHosts=0", 3 | "seeds": [ 4 | "localhost.test.build.10gen.cc:8000" 5 | ], 6 | "hosts": [ 7 | "localhost.test.build.10gen.cc:8000" 8 | ], 9 | "options": { 10 | "loadBalanced": true, 11 | "srvMaxHosts": 0, 12 | "ssl": true 13 | }, 14 | "ping": true 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/srvMaxHosts-zero-txt.yml: -------------------------------------------------------------------------------- 1 | # loadBalanced=true (TXT) is permitted because srvMaxHosts is non-positive 2 | uri: "mongodb+srv://test24.test.build.10gen.cc/?srvMaxHosts=0" 3 | seeds: 4 | - localhost.test.build.10gen.cc:8000 5 | hosts: 6 | - localhost.test.build.10gen.cc:8000 7 | options: 8 | loadBalanced: true 9 | srvMaxHosts: 0 10 | ssl: true 11 | ping: true 12 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/srvMaxHosts-zero.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test23.test.build.10gen.cc/?loadBalanced=true&srvMaxHosts=0", 3 | "seeds": [ 4 | "localhost.test.build.10gen.cc:8000" 5 | ], 6 | "hosts": [ 7 | "localhost.test.build.10gen.cc:8000" 8 | ], 9 | "options": { 10 | "loadBalanced": true, 11 | "srvMaxHosts": 0, 12 | "ssl": true 13 | }, 14 | "ping": true 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/load-balanced/srvMaxHosts-zero.yml: -------------------------------------------------------------------------------- 1 | # loadBalanced=true is permitted because srvMaxHosts is non-positive 2 | uri: "mongodb+srv://test23.test.build.10gen.cc/?loadBalanced=true&srvMaxHosts=0" 3 | seeds: 4 | - localhost.test.build.10gen.cc:8000 5 | hosts: 6 | - localhost.test.build.10gen.cc:8000 7 | options: 8 | loadBalanced: true 9 | srvMaxHosts: 0 10 | ssl: true 11 | ping: true 12 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/dbname-with-commas-escaped.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test1.test.build.10gen.cc/some%2Cdb?replicaSet=repl0" 2 | seeds: 3 | - localhost.test.build.10gen.cc:27017 4 | - localhost.test.build.10gen.cc:27018 5 | hosts: 6 | - localhost:27017 7 | - localhost:27018 8 | - localhost:27019 9 | options: 10 | replicaSet: repl0 11 | ssl: true 12 | parsed_options: 13 | defaultDatabase: some,db 14 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/dbname-with-commas.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test1.test.build.10gen.cc/some,db?replicaSet=repl0" 2 | seeds: 3 | - localhost.test.build.10gen.cc:27017 4 | - localhost.test.build.10gen.cc:27018 5 | hosts: 6 | - localhost:27017 7 | - localhost:27018 8 | - localhost:27019 9 | options: 10 | replicaSet: repl0 11 | ssl: true 12 | parsed_options: 13 | defaultDatabase: some,db 14 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/direct-connection-false.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test3.test.build.10gen.cc/?directConnection=false", 3 | "seeds": [ 4 | "localhost.test.build.10gen.cc:27017" 5 | ], 6 | "hosts": [ 7 | "localhost:27017", 8 | "localhost:27018", 9 | "localhost:27019" 10 | ], 11 | "options": { 12 | "ssl": true, 13 | "directConnection": false 14 | }, 15 | "ping": true 16 | } 17 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/direct-connection-false.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test3.test.build.10gen.cc/?directConnection=false" 2 | seeds: 3 | - localhost.test.build.10gen.cc:27017 4 | hosts: 5 | - localhost:27017 6 | - localhost:27018 7 | - localhost:27019 8 | options: 9 | ssl: true 10 | directConnection: false 11 | ping: true 12 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/direct-connection-true.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test3.test.build.10gen.cc/?directConnection=true", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because directConnection=true is incompatible with SRV URIs." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/direct-connection-true.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test3.test.build.10gen.cc/?directConnection=true" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because directConnection=true is incompatible with SRV URIs. 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/loadBalanced-false-txt.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test21.test.build.10gen.cc/", 3 | "seeds": [ 4 | "localhost.test.build.10gen.cc:27017" 5 | ], 6 | "hosts": [ 7 | "localhost:27017", 8 | "localhost:27018", 9 | "localhost:27019" 10 | ], 11 | "options": { 12 | "loadBalanced": false, 13 | "ssl": true 14 | }, 15 | "ping": true 16 | } 17 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/loadBalanced-false-txt.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test21.test.build.10gen.cc/" 2 | seeds: 3 | - localhost.test.build.10gen.cc:27017 4 | hosts: 5 | - localhost:27017 6 | - localhost:27018 7 | - localhost:27019 8 | options: 9 | loadBalanced: false 10 | ssl: true 11 | ping: true 12 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/longer-parent-in-return.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test18.test.build.10gen.cc/?replicaSet=repl0" 2 | seeds: 3 | - localhost.sub.test.build.10gen.cc:27017 4 | hosts: 5 | - localhost:27017 6 | - localhost:27018 7 | - localhost:27019 8 | options: 9 | replicaSet: repl0 10 | ssl: true 11 | ping: true 12 | comment: Is correct, as returned host name shared the URI root "test.build.10gen.cc". 13 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/misformatted-option.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test8.test.build.10gen.cc/", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because the options in the TXT record are incorrectly formatted (misses value)." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/misformatted-option.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test8.test.build.10gen.cc/" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because the options in the TXT record are incorrectly formatted (misses value). 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/no-results.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test4.test.build.10gen.cc/", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because no SRV records are present for this URI." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/no-results.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test4.test.build.10gen.cc/" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because no SRV records are present for this URI. 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/not-enough-parts.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://10gen.cc/", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because host in URI does not have {hostname}, {domainname} and {tld}." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/not-enough-parts.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://10gen.cc/" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because host in URI does not have {hostname}, {domainname} and {tld}. 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/one-result-default-port.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test3.test.build.10gen.cc/?replicaSet=repl0", 3 | "seeds": [ 4 | "localhost.test.build.10gen.cc:27017" 5 | ], 6 | "hosts": [ 7 | "localhost:27017", 8 | "localhost:27018", 9 | "localhost:27019" 10 | ], 11 | "options": { 12 | "replicaSet": "repl0", 13 | "ssl": true 14 | }, 15 | "ping": true 16 | } 17 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/one-result-default-port.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test3.test.build.10gen.cc/?replicaSet=repl0" 2 | seeds: 3 | - localhost.test.build.10gen.cc:27017 4 | hosts: 5 | - localhost:27017 6 | - localhost:27018 7 | - localhost:27019 8 | options: 9 | replicaSet: repl0 10 | ssl: true 11 | ping: true 12 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/one-txt-record-multiple-strings.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test11.test.build.10gen.cc/", 3 | "seeds": [ 4 | "localhost.test.build.10gen.cc:27017" 5 | ], 6 | "hosts": [ 7 | "localhost:27017", 8 | "localhost:27018", 9 | "localhost:27019" 10 | ], 11 | "options": { 12 | "replicaSet": "repl0", 13 | "ssl": true 14 | }, 15 | "ping": true 16 | } 17 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/one-txt-record-multiple-strings.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test11.test.build.10gen.cc/" 2 | seeds: 3 | - localhost.test.build.10gen.cc:27017 4 | hosts: 5 | - localhost:27017 6 | - localhost:27018 7 | - localhost:27019 8 | options: 9 | replicaSet: repl0 10 | ssl: true 11 | ping: true 12 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/one-txt-record.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test5.test.build.10gen.cc/", 3 | "seeds": [ 4 | "localhost.test.build.10gen.cc:27017" 5 | ], 6 | "hosts": [ 7 | "localhost:27017", 8 | "localhost:27018", 9 | "localhost:27019" 10 | ], 11 | "options": { 12 | "replicaSet": "repl0", 13 | "authSource": "thisDB", 14 | "ssl": true 15 | }, 16 | "ping": true 17 | } 18 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/one-txt-record.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test5.test.build.10gen.cc/" 2 | seeds: 3 | - localhost.test.build.10gen.cc:27017 4 | hosts: 5 | - localhost:27017 6 | - localhost:27018 7 | - localhost:27019 8 | options: 9 | replicaSet: repl0 10 | authSource: thisDB 11 | ssl: true 12 | ping: true 13 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/parent-part-mismatch1.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test14.test.build.10gen.cc/", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because returned host name's part \"not-test\" mismatches URI parent part \"test\"." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/parent-part-mismatch1.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test14.test.build.10gen.cc/" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because returned host name's part "not-test" mismatches URI parent part "test". 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/parent-part-mismatch2.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test15.test.build.10gen.cc/", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because returned host name's part \"not-build\" mismatches URI parent part \"build\"." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/parent-part-mismatch2.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test15.test.build.10gen.cc/" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because returned host name's part "not-build" mismatches URI parent part "build". 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/parent-part-mismatch3.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test16.test.build.10gen.cc/", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because returned host name's part \"not-10gen\" mismatches URI parent part \"10gen\"." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/parent-part-mismatch3.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test16.test.build.10gen.cc/" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because returned host name's part "not-10gen" mismatches URI parent part "10gen". 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/parent-part-mismatch4.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test17.test.build.10gen.cc/", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because returned host name's TLD \"not-cc\" mismatches URI TLD \"cc\"." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/parent-part-mismatch4.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test17.test.build.10gen.cc/" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because returned host name's TLD "not-cc" mismatches URI TLD "cc". 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/parent-part-mismatch5.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test19.test.build.10gen.cc/", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because one of the returned host names' domain name parts \"evil\" mismatches \"test\"." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/parent-part-mismatch5.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test19.test.build.10gen.cc/" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because one of the returned host names' domain name parts "evil" mismatches "test". 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/returned-parent-too-short.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test13.test.build.10gen.cc/", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because returned host name's parent (build.10gen.cc) misses \"test.\"" 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/returned-parent-too-short.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test13.test.build.10gen.cc/" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because returned host name's parent (build.10gen.cc) misses "test." 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/returned-parent-wrong.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test12.test.build.10gen.cc/", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because returned host name is too short and mismatches a parent." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/returned-parent-wrong.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test12.test.build.10gen.cc/" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because returned host name is too short and mismatches a parent. 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/srv-service-name.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test22.test.build.10gen.cc/?srvServiceName=customname" 2 | seeds: 3 | - localhost.test.build.10gen.cc:27017 4 | - localhost.test.build.10gen.cc:27018 5 | hosts: 6 | - localhost:27017 7 | - localhost:27018 8 | - localhost:27019 9 | options: 10 | ssl: true 11 | srvServiceName: "customname" 12 | ping: true 13 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/srvMaxHosts-conflicts_with_replicaSet-txt.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test5.test.build.10gen.cc/?srvMaxHosts=1", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because positive integer for srvMaxHosts conflicts with replicaSet option (TXT)" 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/srvMaxHosts-conflicts_with_replicaSet-txt.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test5.test.build.10gen.cc/?srvMaxHosts=1" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because positive integer for srvMaxHosts conflicts with replicaSet option (TXT) 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/srvMaxHosts-conflicts_with_replicaSet.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test1.test.build.10gen.cc/?replicaSet=repl0&srvMaxHosts=1", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because positive integer for srvMaxHosts conflicts with replicaSet option" 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/srvMaxHosts-conflicts_with_replicaSet.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test1.test.build.10gen.cc/?replicaSet=repl0&srvMaxHosts=1" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because positive integer for srvMaxHosts conflicts with replicaSet option 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/srvMaxHosts-less_than_srv_records.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test1.test.build.10gen.cc/?srvMaxHosts=1", 3 | "numSeeds": 1, 4 | "hosts": [ 5 | "localhost:27017", 6 | "localhost:27018", 7 | "localhost:27019" 8 | ], 9 | "options": { 10 | "srvMaxHosts": 1, 11 | "ssl": true 12 | }, 13 | "ping": true 14 | } 15 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/two-results-default-port.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test1.test.build.10gen.cc/?replicaSet=repl0" 2 | seeds: 3 | - localhost.test.build.10gen.cc:27017 4 | - localhost.test.build.10gen.cc:27018 5 | hosts: 6 | - localhost:27017 7 | - localhost:27018 8 | - localhost:27019 9 | options: 10 | replicaSet: repl0 11 | ssl: true 12 | ping: true 13 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/two-results-nonstandard-port.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test2.test.build.10gen.cc/?replicaSet=repl0" 2 | seeds: 3 | - localhost.test.build.10gen.cc:27018 4 | - localhost.test.build.10gen.cc:27019 5 | hosts: 6 | - localhost:27017 7 | - localhost:27018 8 | - localhost:27019 9 | options: 10 | replicaSet: repl0 11 | ssl: true 12 | ping: true 13 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/two-txt-records.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test6.test.build.10gen.cc/", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because there are two TXT records." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/two-txt-records.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test6.test.build.10gen.cc/" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because there are two TXT records. 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/txt-record-not-allowed-option.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test10.test.build.10gen.cc/?replicaSet=repl0", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because socketTimeoutMS is not an allowed option." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/txt-record-not-allowed-option.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test10.test.build.10gen.cc/?replicaSet=repl0" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because socketTimeoutMS is not an allowed option. 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/txt-record-with-overridden-ssl-option.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test5.test.build.10gen.cc/?ssl=false" 2 | seeds: 3 | - localhost.test.build.10gen.cc:27017 4 | hosts: 5 | - localhost:27017 6 | - localhost:27018 7 | - localhost:27019 8 | options: 9 | replicaSet: repl0 10 | authSource: thisDB 11 | ssl: false 12 | ping: true 13 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/txt-record-with-overridden-uri-option.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test5.test.build.10gen.cc/?authSource=otherDB" 2 | seeds: 3 | - localhost.test.build.10gen.cc:27017 4 | hosts: 5 | - localhost:27017 6 | - localhost:27018 7 | - localhost:27019 8 | options: 9 | replicaSet: repl0 10 | authSource: otherDB 11 | ssl: true 12 | ping: true 13 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/txt-record-with-unallowed-option.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test7.test.build.10gen.cc/", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because \"ssl\" is not an allowed option." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/txt-record-with-unallowed-option.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test7.test.build.10gen.cc/" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because "ssl" is not an allowed option. 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/uri-with-admin-database.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test1.test.build.10gen.cc/adminDB?replicaSet=repl0" 2 | seeds: 3 | - localhost.test.build.10gen.cc:27017 4 | - localhost.test.build.10gen.cc:27018 5 | hosts: 6 | - localhost:27017 7 | - localhost:27018 8 | - localhost:27019 9 | options: 10 | replicaSet: repl0 11 | ssl: true 12 | parsed_options: 13 | auth_database: adminDB 14 | ping: true 15 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/uri-with-port.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test5.test.build.10gen.cc:8123/?replicaSet=repl0", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because the mongodb+srv URI includes a port." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/uri-with-port.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test5.test.build.10gen.cc:8123/?replicaSet=repl0" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because the mongodb+srv URI includes a port. 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/uri-with-two-hosts.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test5.test.build.10gen.cc,test6.test.build.10gen.cc/?replicaSet=repl0", 3 | "seeds": [], 4 | "hosts": [], 5 | "error": true, 6 | "comment": "Should fail because the mongodb+srv URI includes two host names." 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/replica-set/uri-with-two-hosts.yml: -------------------------------------------------------------------------------- 1 | uri: "mongodb+srv://test5.test.build.10gen.cc,test6.test.build.10gen.cc/?replicaSet=repl0" 2 | seeds: [] 3 | hosts: [] 4 | error: true 5 | comment: Should fail because the mongodb+srv URI includes two host names. 6 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/sharded/srvMaxHosts-less_than_srv_records.json: -------------------------------------------------------------------------------- 1 | { 2 | "uri": "mongodb+srv://test1.test.build.10gen.cc/?srvMaxHosts=1", 3 | "numSeeds": 1, 4 | "numHosts": 1, 5 | "options": { 6 | "srvMaxHosts": 1, 7 | "ssl": true 8 | }, 9 | "ping": true 10 | } 11 | -------------------------------------------------------------------------------- /src/test/spec/json/initial-dns-seedlist-discovery/sharded/srvMaxHosts-zero.yml: -------------------------------------------------------------------------------- 1 | # When srvMaxHosts is zero, all hosts are added to the seed list. 2 | uri: "mongodb+srv://test1.test.build.10gen.cc/?srvMaxHosts=0" 3 | seeds: 4 | - localhost.test.build.10gen.cc:27017 5 | - localhost.test.build.10gen.cc:27018 6 | hosts: 7 | - localhost.test.build.10gen.cc:27017 8 | - localhost.test.build.10gen.cc:27018 9 | options: 10 | srvMaxHosts: 0 11 | ssl: true 12 | ping: true 13 | -------------------------------------------------------------------------------- /src/test/spec/json/max-staleness/ReplicaSetNoPrimary/MaxStalenessTooSmall.yml: -------------------------------------------------------------------------------- 1 | # maxStalenessSeconds must be at least 90 seconds, even with no known servers. 2 | --- 3 | topology_description: 4 | type: ReplicaSetNoPrimary 5 | servers: 6 | - &1 7 | address: a:27017 8 | type: Unknown 9 | - &2 10 | address: b:27017 11 | type: Unknown 12 | read_preference: 13 | mode: Nearest 14 | maxStalenessSeconds: 1 # Too small. 15 | error: true 16 | -------------------------------------------------------------------------------- /src/test/spec/json/max-staleness/ReplicaSetNoPrimary/NoKnownServers.yml: -------------------------------------------------------------------------------- 1 | # valid maxStalenessSeconds and no known servers results in an empty set of suitable servers 2 | --- 3 | topology_description: 4 | type: ReplicaSetNoPrimary 5 | servers: 6 | - &1 7 | address: a:27017 8 | type: Unknown 9 | - &2 10 | address: b:27017 11 | type: Unknown 12 | read_preference: 13 | mode: Nearest 14 | maxStalenessSeconds: 90 15 | suitable_servers: [] 16 | in_latency_window: [] 17 | -------------------------------------------------------------------------------- /src/test/spec/json/max-staleness/Unknown/SmallMaxStaleness.json: -------------------------------------------------------------------------------- 1 | { 2 | "heartbeatFrequencyMS": 10000, 3 | "topology_description": { 4 | "type": "Unknown", 5 | "servers": [ 6 | { 7 | "address": "a:27017", 8 | "type": "Unknown", 9 | "maxWireVersion": 6 10 | } 11 | ] 12 | }, 13 | "read_preference": { 14 | "mode": "Nearest", 15 | "maxStalenessSeconds": 1 16 | }, 17 | "suitable_servers": [], 18 | "in_latency_window": [] 19 | } 20 | -------------------------------------------------------------------------------- /src/test/spec/json/max-staleness/Unknown/SmallMaxStaleness.yml: -------------------------------------------------------------------------------- 1 | # Driver doesn't validate maxStalenessSeconds while TopologyType is Unknown. 2 | --- 3 | heartbeatFrequencyMS: 10000 4 | topology_description: 5 | type: Unknown 6 | servers: 7 | - &1 8 | address: a:27017 9 | type: Unknown 10 | maxWireVersion: 6 11 | read_preference: 12 | mode: Nearest 13 | maxStalenessSeconds: 1 14 | suitable_servers: [] 15 | in_latency_window: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/rtt/first_value.json: -------------------------------------------------------------------------------- 1 | { 2 | "avg_rtt_ms": "NULL", 3 | "new_rtt_ms": 10, 4 | "new_avg_rtt": 10 5 | } 6 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/rtt/first_value.yml: -------------------------------------------------------------------------------- 1 | avg_rtt_ms: 'NULL' 2 | new_rtt_ms: 10 3 | new_avg_rtt: 10 4 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/rtt/first_value_zero.json: -------------------------------------------------------------------------------- 1 | { 2 | "avg_rtt_ms": "NULL", 3 | "new_rtt_ms": 0, 4 | "new_avg_rtt": 0 5 | } 6 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/rtt/first_value_zero.yml: -------------------------------------------------------------------------------- 1 | avg_rtt_ms: 'NULL' 2 | new_rtt_ms: 0 3 | new_avg_rtt: 0 4 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/rtt/value_test_1.json: -------------------------------------------------------------------------------- 1 | { 2 | "avg_rtt_ms": 0, 3 | "new_rtt_ms": 5, 4 | "new_avg_rtt": 1 5 | } 6 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/rtt/value_test_1.yml: -------------------------------------------------------------------------------- 1 | avg_rtt_ms: 0 2 | new_rtt_ms: 5 3 | new_avg_rtt: 1.0 4 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/rtt/value_test_2.json: -------------------------------------------------------------------------------- 1 | { 2 | "avg_rtt_ms": 3.1, 3 | "new_rtt_ms": 36, 4 | "new_avg_rtt": 9.68 5 | } 6 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/rtt/value_test_2.yml: -------------------------------------------------------------------------------- 1 | avg_rtt_ms: 3.1 2 | new_rtt_ms: 36 3 | new_avg_rtt: 9.68 4 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/rtt/value_test_3.json: -------------------------------------------------------------------------------- 1 | { 2 | "avg_rtt_ms": 9.12, 3 | "new_rtt_ms": 9.12, 4 | "new_avg_rtt": 9.12 5 | } 6 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/rtt/value_test_3.yml: -------------------------------------------------------------------------------- 1 | avg_rtt_ms: 9.12 2 | new_rtt_ms: 9.12 3 | new_avg_rtt: 9.12 4 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/rtt/value_test_4.json: -------------------------------------------------------------------------------- 1 | { 2 | "avg_rtt_ms": 1, 3 | "new_rtt_ms": 1000, 4 | "new_avg_rtt": 200.8 5 | } 6 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/rtt/value_test_4.yml: -------------------------------------------------------------------------------- 1 | avg_rtt_ms: 1 2 | new_rtt_ms: 1000 3 | new_avg_rtt: 200.8 4 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/rtt/value_test_5.json: -------------------------------------------------------------------------------- 1 | { 2 | "avg_rtt_ms": 0, 3 | "new_rtt_ms": 0.25, 4 | "new_avg_rtt": 0.05 5 | } 6 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/rtt/value_test_5.yml: -------------------------------------------------------------------------------- 1 | avg_rtt_ms: 0 2 | new_rtt_ms: 0.25 3 | new_avg_rtt: 0.05 4 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/LoadBalanced/read/Nearest.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: LoadBalanced 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 0 7 | type: LoadBalancer 8 | operation: read 9 | read_preference: 10 | mode: Nearest 11 | tag_sets: 12 | - data_center: nyc 13 | suitable_servers: 14 | - *1 15 | in_latency_window: 16 | - *1 17 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/LoadBalanced/read/Primary.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: LoadBalanced 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 0 7 | type: LoadBalancer 8 | operation: read 9 | read_preference: 10 | mode: Primary 11 | suitable_servers: 12 | - *1 13 | in_latency_window: 14 | - *1 15 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/LoadBalanced/read/PrimaryPreferred.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: LoadBalanced 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 0 7 | type: LoadBalancer 8 | operation: read 9 | read_preference: 10 | mode: PrimaryPreferred 11 | tag_sets: 12 | - data_center: nyc 13 | suitable_servers: 14 | - *1 15 | in_latency_window: 16 | - *1 17 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/LoadBalanced/read/Secondary.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: LoadBalanced 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 0 7 | type: LoadBalancer 8 | operation: read 9 | read_preference: 10 | mode: Secondary 11 | tag_sets: 12 | - data_center: nyc 13 | suitable_servers: 14 | - *1 15 | in_latency_window: 16 | - *1 17 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/LoadBalanced/read/SecondaryPreferred.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: LoadBalanced 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 0 7 | type: LoadBalancer 8 | operation: read 9 | read_preference: 10 | mode: SecondaryPreferred 11 | tag_sets: 12 | - data_center: nyc 13 | suitable_servers: 14 | - *1 15 | in_latency_window: 16 | - *1 17 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/LoadBalanced/write/Nearest.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: LoadBalanced 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 0 7 | type: LoadBalancer 8 | operation: write 9 | read_preference: 10 | mode: Nearest 11 | tag_sets: 12 | - data_center: nyc 13 | suitable_servers: 14 | - *1 15 | in_latency_window: 16 | - *1 17 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/LoadBalanced/write/Primary.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: LoadBalanced 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 0 7 | type: LoadBalancer 8 | operation: write 9 | read_preference: 10 | mode: Primary 11 | suitable_servers: 12 | - *1 13 | in_latency_window: 14 | - *1 15 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/LoadBalanced/write/PrimaryPreferred.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: LoadBalanced 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 0 7 | type: LoadBalancer 8 | operation: write 9 | read_preference: 10 | mode: PrimaryPreferred 11 | tag_sets: 12 | - data_center: nyc 13 | suitable_servers: 14 | - *1 15 | in_latency_window: 16 | - *1 17 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/LoadBalanced/write/Secondary.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: LoadBalanced 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 0 7 | type: LoadBalancer 8 | operation: write 9 | read_preference: 10 | mode: Secondary 11 | tag_sets: 12 | - data_center: nyc 13 | suitable_servers: 14 | - *1 15 | in_latency_window: 16 | - *1 17 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/LoadBalanced/write/SecondaryPreferred.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: LoadBalanced 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 0 7 | type: LoadBalancer 8 | operation: write 9 | read_preference: 10 | mode: SecondaryPreferred 11 | tag_sets: 12 | - data_center: nyc 13 | suitable_servers: 14 | - *1 15 | in_latency_window: 16 | - *1 17 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/ReplicaSetNoPrimary/read/PossiblePrimary.yml: -------------------------------------------------------------------------------- 1 | # Test that PossiblePrimary isn't candidate for any read preference mode. 2 | --- 3 | topology_description: 4 | type: ReplicaSetNoPrimary 5 | servers: 6 | - address: b:27017 7 | avg_rtt_ms: 5 8 | type: PossiblePrimary 9 | operation: read 10 | read_preference: 11 | mode: Primary 12 | tag_sets: 13 | - {} 14 | suitable_servers: [] 15 | in_latency_window: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/ReplicaSetNoPrimary/read/PossiblePrimaryNearest.yml: -------------------------------------------------------------------------------- 1 | # Test that PossiblePrimary isn't candidate for any read preference mode. 2 | --- 3 | topology_description: 4 | type: ReplicaSetNoPrimary 5 | servers: 6 | - address: b:27017 7 | avg_rtt_ms: 5 8 | type: PossiblePrimary 9 | operation: read 10 | read_preference: 11 | mode: Nearest 12 | tag_sets: 13 | - {} 14 | suitable_servers: [] 15 | in_latency_window: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Sharded/read/Nearest.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: Sharded 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 5 7 | type: Mongos 8 | - &2 9 | address: h:27017 10 | avg_rtt_ms: 35 11 | type: Mongos 12 | operation: read 13 | read_preference: 14 | mode: Nearest 15 | tag_sets: 16 | - data_center: nyc 17 | suitable_servers: 18 | - *1 19 | - *2 20 | in_latency_window: 21 | - *1 22 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Sharded/read/Primary.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: Sharded 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 5 7 | type: Mongos 8 | - &2 9 | address: h:27017 10 | avg_rtt_ms: 35 11 | type: Mongos 12 | operation: read 13 | read_preference: 14 | mode: Primary 15 | suitable_servers: 16 | - *1 17 | - *2 18 | in_latency_window: 19 | - *1 20 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Sharded/read/Secondary.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: Sharded 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 5 7 | type: Mongos 8 | - &2 9 | address: h:27017 10 | avg_rtt_ms: 35 11 | type: Mongos 12 | operation: read 13 | read_preference: 14 | mode: Secondary 15 | tag_sets: 16 | - data_center: nyc 17 | suitable_servers: 18 | - *1 19 | - *2 20 | in_latency_window: 21 | - *1 22 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Sharded/write/Nearest.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: Sharded 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 5 7 | type: Mongos 8 | - &2 9 | address: h:27017 10 | avg_rtt_ms: 35 11 | type: Mongos 12 | operation: write 13 | read_preference: 14 | mode: Nearest 15 | tag_sets: 16 | - data_center: nyc 17 | suitable_servers: 18 | - *1 19 | - *2 20 | in_latency_window: 21 | - *1 22 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Sharded/write/Primary.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: Sharded 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 5 7 | type: Mongos 8 | - &2 9 | address: h:27017 10 | avg_rtt_ms: 35 11 | type: Mongos 12 | operation: write 13 | read_preference: 14 | mode: Primary 15 | suitable_servers: 16 | - *1 17 | - *2 18 | in_latency_window: 19 | - *1 20 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Sharded/write/Secondary.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: Sharded 3 | servers: 4 | - &1 5 | address: g:27017 6 | avg_rtt_ms: 5 7 | type: Mongos 8 | - &2 9 | address: h:27017 10 | avg_rtt_ms: 35 11 | type: Mongos 12 | operation: write 13 | read_preference: 14 | mode: Secondary 15 | tag_sets: 16 | - data_center: nyc 17 | suitable_servers: 18 | - *1 19 | - *2 20 | in_latency_window: 21 | - *1 22 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Single/read/SecondaryPreferred.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: Single 3 | servers: 4 | - &1 5 | address: a:27017 6 | avg_rtt_ms: 5 7 | type: Standalone 8 | tags: 9 | data_center: dc 10 | operation: read 11 | read_preference: 12 | mode: SecondaryPreferred 13 | tag_sets: 14 | - data_center: nyc 15 | suitable_servers: 16 | - *1 17 | in_latency_window: 18 | - *1 19 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Single/write/SecondaryPreferred.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: Single 3 | servers: 4 | - &1 5 | address: a:27017 6 | avg_rtt_ms: 5 7 | type: Standalone 8 | tags: 9 | data_center: dc 10 | operation: write 11 | read_preference: 12 | mode: SecondaryPreferred 13 | tag_sets: 14 | - data_center: nyc 15 | suitable_servers: 16 | - *1 17 | in_latency_window: 18 | - *1 19 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Unknown/read/SecondaryPreferred.json: -------------------------------------------------------------------------------- 1 | { 2 | "topology_description": { 3 | "type": "Unknown", 4 | "servers": [] 5 | }, 6 | "operation": "read", 7 | "read_preference": { 8 | "mode": "SecondaryPreferred", 9 | "tag_sets": [ 10 | { 11 | "data_center": "nyc" 12 | } 13 | ] 14 | }, 15 | "suitable_servers": [], 16 | "in_latency_window": [] 17 | } 18 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Unknown/read/SecondaryPreferred.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: Unknown 3 | servers: [] 4 | operation: read 5 | read_preference: 6 | mode: SecondaryPreferred 7 | tag_sets: 8 | - data_center: nyc 9 | suitable_servers: [] 10 | in_latency_window: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Unknown/read/ghost.json: -------------------------------------------------------------------------------- 1 | { 2 | "topology_description": { 3 | "type": "Unknown", 4 | "servers": [ 5 | { 6 | "address": "a:27017", 7 | "avg_rtt_ms": 5, 8 | "type": "RSGhost" 9 | } 10 | ] 11 | }, 12 | "operation": "read", 13 | "read_preference": { 14 | "mode": "Nearest" 15 | }, 16 | "suitable_servers": [], 17 | "in_latency_window": [] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Unknown/read/ghost.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: Unknown 3 | servers: 4 | - address: a:27017 5 | avg_rtt_ms: 5 6 | type: RSGhost 7 | operation: read 8 | read_preference: 9 | mode: Nearest 10 | suitable_servers: [] 11 | in_latency_window: [] 12 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Unknown/write/SecondaryPreferred.json: -------------------------------------------------------------------------------- 1 | { 2 | "topology_description": { 3 | "type": "Unknown", 4 | "servers": [] 5 | }, 6 | "operation": "write", 7 | "read_preference": { 8 | "mode": "SecondaryPreferred", 9 | "tag_sets": [ 10 | { 11 | "data_center": "nyc" 12 | } 13 | ] 14 | }, 15 | "suitable_servers": [], 16 | "in_latency_window": [] 17 | } 18 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Unknown/write/SecondaryPreferred.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: Unknown 3 | servers: [] 4 | operation: write 5 | read_preference: 6 | mode: SecondaryPreferred 7 | tag_sets: 8 | - data_center: nyc 9 | suitable_servers: [] 10 | in_latency_window: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Unknown/write/ghost.json: -------------------------------------------------------------------------------- 1 | { 2 | "topology_description": { 3 | "type": "Unknown", 4 | "servers": [ 5 | { 6 | "address": "a:27017", 7 | "avg_rtt_ms": 5, 8 | "type": "RSGhost" 9 | } 10 | ] 11 | }, 12 | "operation": "write", 13 | "read_preference": { 14 | "mode": "Nearest" 15 | }, 16 | "suitable_servers": [], 17 | "in_latency_window": [] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/server-selection/server_selection/Unknown/write/ghost.yml: -------------------------------------------------------------------------------- 1 | topology_description: 2 | type: Unknown 3 | servers: 4 | - address: a:27017 5 | avg_rtt_ms: 5 6 | type: RSGhost 7 | operation: write 8 | read_preference: 9 | mode: Nearest 10 | suitable_servers: [] 11 | in_latency_window: [] 12 | -------------------------------------------------------------------------------- /src/test/spec/json/testdata/client-side-encryption/data/keys/key1-id.json: -------------------------------------------------------------------------------- 1 | { 2 | "$binary": { 3 | "base64": "EjRWeBI0mHYSNBI0VniQEg==", 4 | "subType": "04" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/test/spec/json/testdata/client-side-encryption/data/keys/key2-id.json: -------------------------------------------------------------------------------- 1 | { 2 | "$binary": { 3 | "base64": "q83vqxI0mHYSNBI0VniQEg==", 4 | "subType": "04" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/clientEncryptionOpts-keyVaultClient-required.yml: -------------------------------------------------------------------------------- 1 | description: clientEncryptionOpts-keyVaultClient-required 2 | 3 | schemaVersion: "1.8" 4 | 5 | createEntities: 6 | - clientEncryption: 7 | id: &clientEncryption0 clientEncryption0 8 | clientEncryptionOpts: 9 | keyVaultNamespace: keyvault.datakeys 10 | kmsProviders: 11 | aws: {} 12 | 13 | tests: 14 | - description: "" 15 | operations: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/createEntities-items.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "createEntities-items", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | 0 6 | ], 7 | "tests": [ 8 | { 9 | "description": "foo", 10 | "operations": [] 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/createEntities-items.yml: -------------------------------------------------------------------------------- 1 | description: "createEntities-items" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: [0] 6 | 7 | tests: 8 | - description: "foo" 9 | operations: [] 10 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/createEntities-minItems.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "createEntities-minItems", 3 | "schemaVersion": "1.0", 4 | "createEntities": [], 5 | "tests": [ 6 | { 7 | "description": "foo", 8 | "operations": [] 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/createEntities-minItems.yml: -------------------------------------------------------------------------------- 1 | description: "createEntities-minItems" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: [] 6 | 7 | tests: 8 | - description: "foo" 9 | operations: [] 10 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/createEntities-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "createEntities-type", 3 | "schemaVersion": "1.0", 4 | "createEntities": 0, 5 | "tests": [ 6 | { 7 | "description": "foo", 8 | "operations": [] 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/createEntities-type.yml: -------------------------------------------------------------------------------- 1 | description: "createEntities-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 0 6 | 7 | tests: 8 | - description: "foo" 9 | operations: [] 10 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/description-required.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": "1.0", 3 | "tests": [ 4 | { 5 | "description": "foo", 6 | "operations": [] 7 | } 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/description-required.yml: -------------------------------------------------------------------------------- 1 | # description: "description-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-additionalProperties.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-additionalProperties", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "foo": 0 7 | } 8 | ], 9 | "tests": [ 10 | { 11 | "description": "foo", 12 | "operations": [] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: "entity-additionalProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - foo: 0 7 | 8 | tests: 9 | - description: "foo" 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-bucket-database-required.yml: -------------------------------------------------------------------------------- 1 | description: "entity-bucket-database-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - database: 9 | id: &database0 "database0" 10 | client: *client0 11 | databaseName: "foo" 12 | - bucket: 13 | id: &bucket0 "bucket0" 14 | 15 | tests: 16 | - description: "foo" 17 | operations: [] 18 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-bucket-database-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-bucket-database-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - database: 9 | id: &database0 "database0" 10 | client: *client0 11 | databaseName: "foo" 12 | - bucket: 13 | id: &bucket0 "bucket0" 14 | database: 0 15 | 16 | tests: 17 | - description: "foo" 18 | operations: [] 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-bucket-id-required.yml: -------------------------------------------------------------------------------- 1 | description: "entity-bucket-id-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - database: 9 | id: &database0 "database0" 10 | client: *client0 11 | databaseName: "foo" 12 | - bucket: 13 | database: *database0 14 | 15 | tests: 16 | - description: "foo" 17 | operations: [] 18 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-bucket-id-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-bucket-id-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - database: 9 | id: &database0 "database0" 10 | client: *client0 11 | databaseName: "foo" 12 | - bucket: 13 | id: 0 14 | database: *database0 15 | 16 | tests: 17 | - description: "foo" 18 | operations: [] 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-additionalProperties.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-additionalProperties", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "foo": 0 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-additionalProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | foo: 0 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-id-required.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-id-required", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": {} 7 | } 8 | ], 9 | "tests": [ 10 | { 11 | "description": "foo", 12 | "operations": [] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-id-required.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-id-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: {} 7 | 8 | tests: 9 | - description: "foo" 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-id-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-id-type", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": 0 8 | } 9 | } 10 | ], 11 | "tests": [ 12 | { 13 | "description": "foo", 14 | "operations": [] 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-id-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-id-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: 0 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-ignoreCommandMonitoringEvents-items.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-ignoreCommandMonitoringEvents-items" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | ignoreCommandMonitoringEvents: [0] 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-ignoreCommandMonitoringEvents-minItems.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-ignoreCommandMonitoringEvents-minItems" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | ignoreCommandMonitoringEvents: [] 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-ignoreCommandMonitoringEvents-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-ignoreCommandMonitoringEvents-type", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "ignoreCommandMonitoringEvents": 0 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-ignoreCommandMonitoringEvents-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-ignoreCommandMonitoringEvents-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | ignoreCommandMonitoringEvents: 0 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeEvents-enum.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-observeEvents-enum", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "observeEvents": [ 9 | "foo" 10 | ] 11 | } 12 | } 13 | ], 14 | "tests": [ 15 | { 16 | "description": "foo", 17 | "operations": [] 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeEvents-enum.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-observeEvents-enum" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | observeEvents: ["foo"] 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeEvents-items.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-observeEvents-items", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "observeEvents": [ 9 | 0 10 | ] 11 | } 12 | } 13 | ], 14 | "tests": [ 15 | { 16 | "description": "foo", 17 | "operations": [] 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeEvents-items.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-observeEvents-items" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | observeEvents: [0] 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeEvents-minItems.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-observeEvents-minItems", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "observeEvents": [] 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeEvents-minItems.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-observeEvents-minItems" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | observeEvents: [] 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeEvents-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-observeEvents-type", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "observeEvents": 0 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeEvents-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-observeEvents-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | observeEvents: 0 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeLogMessages-minProperties.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-observeLogMessages-minProperties", 3 | "schemaVersion": "1.13", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "observeLogMessages": {} 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeLogMessages-minProperties.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-observeLogMessages-minProperties" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | observeLogMessages: {} 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeLogMessages-property-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-observeLogMessages-property-type" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | observeLogMessages: 9 | command: {} 10 | 11 | tests: 12 | - description: "foo" 13 | operations: [] 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeLogMessages-property-value.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-observeLogMessages-property-type" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | observeLogMessages: 9 | command: notALogLevel 10 | 11 | tests: 12 | - description: "foo" 13 | operations: [] 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeLogMessages-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-observeLogMessages-type", 3 | "schemaVersion": "1.13", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "observeLogMessages": 0 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeLogMessages-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-observeLogMessages-type" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | observeLogMessages: 0 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeSensitiveCommands-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-observeSensitiveCommands-type", 3 | "schemaVersion": "1.5", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "observeSensitiveCommands": 0 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-observeSensitiveCommands-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-observeSensitiveCommands-type" 2 | 3 | schemaVersion: "1.5" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | observeSensitiveCommands: 0 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-serverApi-deprecationErrors-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-serverApi-version-type" 2 | 3 | schemaVersion: "1.1" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | serverApi: 9 | version: "1" 10 | deprecationErrors: 0 11 | 12 | tests: 13 | - description: "foo" 14 | operations: [] 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-serverApi-strict-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-serverApi-version-type" 2 | 3 | schemaVersion: "1.1" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | serverApi: 9 | version: "1" 10 | strict: 0 11 | 12 | tests: 13 | - description: "foo" 14 | operations: [] 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-serverApi-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-serverApi-type", 3 | "schemaVersion": "1.1", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "serverApi": 0 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-serverApi-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-serverApi-type" 2 | 3 | schemaVersion: "1.1" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | serverApi: 0 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-serverApi-version-required.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-serverApi-version-required", 3 | "schemaVersion": "1.1", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "serverApi": {} 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-serverApi-version-required.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-serverApi-version-required" 2 | 3 | schemaVersion: "1.1" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | serverApi: {} 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-serverApi-version-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-serverApi-version-type", 3 | "schemaVersion": "1.1", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "serverApi": { 9 | "version": 0 10 | } 11 | } 12 | } 13 | ], 14 | "tests": [ 15 | { 16 | "description": "foo", 17 | "operations": [] 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-serverApi-version-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-serverApi-version-type" 2 | 3 | schemaVersion: "1.1" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | serverApi: 9 | version: 0 10 | 11 | tests: 12 | - description: "foo" 13 | operations: [] 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-storeEventsAsEntities-minItems.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-storeEventsAsEntities-minItems", 3 | "schemaVersion": "1.2", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "storeEventsAsEntities": [] 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-storeEventsAsEntities-minItems.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-storeEventsAsEntities-minItems" 2 | 3 | schemaVersion: "1.2" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | storeEventsAsEntities: [] 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-storeEventsAsEntities-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-storeEventsAsEntities-type", 3 | "schemaVersion": "1.2", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "storeEventsAsEntities": 0 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-storeEventsAsEntities-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-storeEventsAsEntities-type" 2 | 3 | schemaVersion: "1.2" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | storeEventsAsEntities: 0 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-uriOptions-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-uriOptions-type", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "uriOptions": 0 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-uriOptions-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-uriOptions-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | uriOptions: 0 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-useMultipleMongoses-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-client-useMultipleMongoses-type", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0", 8 | "useMultipleMongoses": 0 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-client-useMultipleMongoses-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-useMultipleMongoses-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | useMultipleMongoses: 0 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-clientEncryption-clientEncryptionOpts-required.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-clientEncryption-clientEncryptionOpts-required", 3 | "schemaVersion": "1.8", 4 | "createEntities": [ 5 | { 6 | "clientEncryption": { 7 | "id": "clientEncryption0" 8 | } 9 | } 10 | ], 11 | "tests": [ 12 | { 13 | "description": "", 14 | "operations": [] 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-clientEncryption-clientEncryptionOpts-required.yml: -------------------------------------------------------------------------------- 1 | description: entity-clientEncryption-clientEncryptionOpts-required 2 | 3 | schemaVersion: "1.8" 4 | 5 | createEntities: 6 | - clientEncryption: 7 | id: &clientEncryption0 clientEncryption0 8 | 9 | tests: 10 | - description: "" 11 | operations: [] 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-clientEncryption-clientEncryptionOpts-type.yml: -------------------------------------------------------------------------------- 1 | description: entity-clientEncryption-clientEncryptionOpts-type 2 | 3 | schemaVersion: "1.8" 4 | 5 | createEntities: 6 | - clientEncryption: 7 | id: &clientEncryption0 clientEncryption0 8 | clientEncryptionOpts: 0 9 | 10 | tests: 11 | - description: "" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-database-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: "entity-database-additionalProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - database: 9 | id: &database0 "database0" 10 | client: *client0 11 | databaseName: "foo" 12 | foo: 0 13 | 14 | tests: 15 | - description: "foo" 16 | operations: [] 17 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-database-client-required.yml: -------------------------------------------------------------------------------- 1 | description: "entity-database-client-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - database: 9 | id: &database0 "database0" 10 | databaseName: "foo" 11 | 12 | tests: 13 | - description: "foo" 14 | operations: [] 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-database-client-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-database-client-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - database: 9 | id: &database0 "database0" 10 | client: 0 11 | databaseName: "foo" 12 | 13 | tests: 14 | - description: "foo" 15 | operations: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-database-databaseName-required.yml: -------------------------------------------------------------------------------- 1 | description: "entity-database-databaseName-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - database: 9 | id: &database0 "database0" 10 | client: *client0 11 | 12 | tests: 13 | - description: "foo" 14 | operations: [] 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-database-databaseName-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-database-databaseName-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - database: 9 | id: &database0 "database0" 10 | client: *client0 11 | databaseName: 0 12 | 13 | tests: 14 | - description: "foo" 15 | operations: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-database-databaseOptions-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-database-databaseOptions-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - database: 9 | id: &database0 "database0" 10 | client: *client0 11 | databaseName: "foo" 12 | databaseOptions: 0 13 | 14 | tests: 15 | - description: "foo" 16 | operations: [] 17 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-database-id-required.yml: -------------------------------------------------------------------------------- 1 | description: "entity-database-id-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - database: 9 | client: *client0 10 | databaseName: "foo" 11 | 12 | tests: 13 | - description: "foo" 14 | operations: [] 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-database-id-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-database-id-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - database: 9 | id: 0 10 | client: *client0 11 | databaseName: "foo" 12 | 13 | tests: 14 | - description: "foo" 15 | operations: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-maxProperties.yml: -------------------------------------------------------------------------------- 1 | description: "entity-maxProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | database: 9 | id: &database0 "database0" 10 | client: *client0 11 | databaseName: "foo" 12 | 13 | tests: 14 | - description: "foo" 15 | operations: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-minProperties.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-minProperties", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | {} 6 | ], 7 | "tests": [ 8 | { 9 | "description": "foo", 10 | "operations": [] 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-minProperties.yml: -------------------------------------------------------------------------------- 1 | description: "entity-minProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - {} 7 | 8 | tests: 9 | - description: "foo" 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-session-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: "entity-session-additionalProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - session: 9 | id: &session0 "session0" 10 | client: *client0 11 | foo: 0 12 | 13 | tests: 14 | - description: "foo" 15 | operations: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-session-client-required.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-session-client-required", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0" 8 | } 9 | }, 10 | { 11 | "session": { 12 | "id": "session0" 13 | } 14 | } 15 | ], 16 | "tests": [ 17 | { 18 | "description": "foo", 19 | "operations": [] 20 | } 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-session-client-required.yml: -------------------------------------------------------------------------------- 1 | description: "entity-session-client-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - session: 9 | id: &session0 "session0" 10 | 11 | tests: 12 | - description: "foo" 13 | operations: [] 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-session-client-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-session-client-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - session: 9 | id: &session0 "session0" 10 | client: 0 11 | 12 | tests: 13 | - description: "foo" 14 | operations: [] 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-session-id-required.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-session-id-required", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0" 8 | } 9 | }, 10 | { 11 | "session": { 12 | "client": "client0" 13 | } 14 | } 15 | ], 16 | "tests": [ 17 | { 18 | "description": "foo", 19 | "operations": [] 20 | } 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-session-id-required.yml: -------------------------------------------------------------------------------- 1 | description: "entity-session-id-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - session: 9 | client: *client0 10 | 11 | tests: 12 | - description: "foo" 13 | operations: [] 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-session-id-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-session-id-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - session: 9 | id: 0 10 | client: *client0 11 | 12 | tests: 13 | - description: "foo" 14 | operations: [] 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-session-sessionOptions-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-session-sessionOptions-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | - session: 9 | id: &session0 "session0" 10 | client: *client0 11 | sessionOptions: 0 12 | 13 | tests: 14 | - description: "foo" 15 | operations: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-stream-additionalProperties.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-stream-additionalProperties", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "stream": { 7 | "id": "stream0", 8 | "hexBytes": "FF", 9 | "foo": 0 10 | } 11 | } 12 | ], 13 | "tests": [ 14 | { 15 | "description": "foo", 16 | "operations": [] 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-stream-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: "entity-stream-additionalProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - stream: 7 | id: &stream0 "stream0" 8 | hexBytes: "FF" 9 | foo: 0 10 | 11 | tests: 12 | - description: "foo" 13 | operations: [] 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-stream-hexBytes-pattern.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-stream-hexBytes-pattern", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "stream": { 7 | "id": "stream0", 8 | "hexBytes": "FFF" 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-stream-hexBytes-pattern.yml: -------------------------------------------------------------------------------- 1 | description: "entity-stream-hexBytes-pattern" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - stream: 7 | id: &stream0 "stream0" 8 | hexBytes: "FFF" 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-stream-hexBytes-required.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-stream-hexBytes-required", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "stream": { 7 | "id": "stream0" 8 | } 9 | } 10 | ], 11 | "tests": [ 12 | { 13 | "description": "foo", 14 | "operations": [] 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-stream-hexBytes-required.yml: -------------------------------------------------------------------------------- 1 | description: "entity-stream-hexBytes-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - stream: 7 | id: &stream0 "stream0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-stream-hexBytes-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-stream-hexBytes-type", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "stream": { 7 | "id": "stream0", 8 | "hexBytes": 0 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-stream-hexBytes-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-stream-hexBytes-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - stream: 7 | id: &stream0 "stream0" 8 | hexBytes: 0 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-stream-id-required.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-stream-id-required", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "stream": { 7 | "hexBytes": "FF" 8 | } 9 | } 10 | ], 11 | "tests": [ 12 | { 13 | "description": "foo", 14 | "operations": [] 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-stream-id-required.yml: -------------------------------------------------------------------------------- 1 | description: "entity-stream-id-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - stream: 7 | hexBytes: "FF" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-stream-id-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-stream-id-type", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "stream": { 7 | "id": 0, 8 | "hexBytes": "FF" 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-stream-id-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-stream-id-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - stream: 7 | id: 0 8 | hexBytes: "FF" 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-thread-additionalProperties.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-thread-additionalProperties", 3 | "schemaVersion": "1.10", 4 | "createEntities": [ 5 | { 6 | "thread": { 7 | "id": "thread0", 8 | "foo": "bar" 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-thread-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: "entity-thread-additionalProperties" 2 | 3 | schemaVersion: "1.10" 4 | 5 | createEntities: 6 | - thread: 7 | id: &thread0 "thread0" 8 | foo: "bar" 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-thread-id-required.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-thread-id-required", 3 | "schemaVersion": "1.10", 4 | "createEntities": [ 5 | { 6 | "thread": {} 7 | } 8 | ], 9 | "tests": [ 10 | { 11 | "description": "foo", 12 | "operations": [] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-thread-id-required.yml: -------------------------------------------------------------------------------- 1 | description: "entity-thread-id-required" 2 | 3 | schemaVersion: "1.10" 4 | 5 | createEntities: 6 | - thread: {} 7 | 8 | tests: 9 | - description: "foo" 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-thread-id-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-thread-id-type", 3 | "schemaVersion": "1.10", 4 | "createEntities": [ 5 | { 6 | "thread": { 7 | "id": 0 8 | } 9 | } 10 | ], 11 | "tests": [ 12 | { 13 | "description": "foo", 14 | "operations": [] 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/entity-thread-id-type.yml: -------------------------------------------------------------------------------- 1 | description: "entity-thread-id-type" 2 | 3 | schemaVersion: "1.10" 4 | 5 | createEntities: 6 | - thread: 7 | id: 0 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCmapEvent-connectionCheckOutFailedEvent-reason-type.yml: -------------------------------------------------------------------------------- 1 | description: expectedCmapEvent-connectionCheckOutFailedEvent-reason-type 2 | 3 | schemaVersion: '1.3' 4 | 5 | tests: 6 | - description: foo 7 | operations: [] 8 | expectEvents: 9 | - client: client0 10 | eventType: cmap 11 | events: 12 | - connectionCheckOutFailedEvent: 13 | reason: 10 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCmapEvent-connectionCheckOutStartedEvent-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: expectedCmapEvent-connectionCheckOutStartedEvent-additionalProperties 2 | 3 | schemaVersion: '1.3' 4 | 5 | tests: 6 | - description: foo 7 | operations: [] 8 | expectEvents: 9 | - client: client0 10 | eventType: cmap 11 | events: 12 | - connectionCheckOutStartedEvent: 13 | foo: bar 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCmapEvent-connectionCheckedInEvent-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: expectedCmapEvent-connectionCheckedInEvent-additionalProperties 2 | 3 | schemaVersion: '1.3' 4 | 5 | tests: 6 | - description: foo 7 | operations: [] 8 | expectEvents: 9 | - client: client0 10 | eventType: cmap 11 | events: 12 | - connectionCheckedInEvent: 13 | foo: bar 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCmapEvent-connectionCheckedOutEvent-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: expectedCmapEvent-connectionCheckedOutEvent-additionalProperties 2 | 3 | schemaVersion: '1.3' 4 | 5 | tests: 6 | - description: foo 7 | operations: [] 8 | expectEvents: 9 | - client: client0 10 | eventType: cmap 11 | events: 12 | - connectionCheckedOutEvent: 13 | foo: bar 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCmapEvent-connectionClosedEvent-reason-type.yml: -------------------------------------------------------------------------------- 1 | description: expectedCmapEvent-connectionClosedEvent-reason-type 2 | 3 | schemaVersion: '1.3' 4 | 5 | tests: 6 | - description: foo 7 | operations: [] 8 | expectEvents: 9 | - client: client0 10 | eventType: cmap 11 | events: 12 | - connectionClosedEvent: 13 | reason: 10 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCmapEvent-connectionCreatedEvent-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: expectedCmapEvent-connectionCreatedEvent-additionalProperties 2 | 3 | schemaVersion: '1.3' 4 | 5 | tests: 6 | - description: foo 7 | operations: [] 8 | expectEvents: 9 | - client: client0 10 | eventType: cmap 11 | events: 12 | - connectionCreatedEvent: 13 | foo: bar 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCmapEvent-connectionReadyEvent-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: expectedCmapEvent-connectionReadyEvent-additionalProperties 2 | 3 | schemaVersion: '1.3' 4 | 5 | tests: 6 | - description: foo 7 | operations: [] 8 | expectEvents: 9 | - client: client0 10 | eventType: cmap 11 | events: 12 | - connectionReadyEvent: 13 | foo: bar 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCmapEvent-poolClearedEvent-hasServiceId-type.yml: -------------------------------------------------------------------------------- 1 | description: expectedCmapEvent-poolClearedEvent-hasServiceId-type 2 | 3 | schemaVersion: '1.3' 4 | 5 | tests: 6 | - description: foo 7 | operations: [] 8 | expectEvents: 9 | - client: client0 10 | eventType: cmap 11 | events: 12 | - poolClearedEvent: 13 | hasServiceId: foo 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCmapEvent-poolClearedEvent-interruptInUseConnections-type.yml: -------------------------------------------------------------------------------- 1 | description: expectedCmapEvent-poolClearedEvent-interruptInUseConnections-type 2 | 3 | schemaVersion: '1.11' 4 | 5 | tests: 6 | - description: foo 7 | operations: [] 8 | expectEvents: 9 | - client: client0 10 | eventType: cmap 11 | events: 12 | - poolClearedEvent: 13 | interruptInUseConnections: foo 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCmapEvent-poolClosedEvent-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: expectedCmapEvent-poolClosedEvent-additionalProperties 2 | 3 | schemaVersion: '1.3' 4 | 5 | tests: 6 | - description: foo 7 | operations: [] 8 | expectEvents: 9 | - client: client0 10 | eventType: cmap 11 | events: 12 | - poolClosedEvent: 13 | foo: bar 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCmapEvent-poolCreatedEvent-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: expectedCmapEvent-poolCreatedEvent-additionalProperties 2 | 3 | schemaVersion: '1.3' 4 | 5 | tests: 6 | - description: foo 7 | operations: [] 8 | expectEvents: 9 | - client: client0 10 | eventType: cmap 11 | events: 12 | - poolCreatedEvent: 13 | foo: bar 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCmapEvent-poolReadyEvent-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: expectedCmapEvent-poolReadyEvent-additionalProperties 2 | 3 | schemaVersion: '1.3' 4 | 5 | tests: 6 | - description: foo 7 | operations: [] 8 | expectEvents: 9 | - client: client0 10 | eventType: cmap 11 | events: 12 | - poolReadyEvent: 13 | foo: bar 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCommandEvent-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: "expectedCommandEvent-additionalProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectEvents: 13 | - client: *client0 14 | events: 15 | - foo: 0 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCommandEvent-commandStartedEvent-command-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedCommandEvent-commandStartedEvent-command-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectEvents: 13 | - client: *client0 14 | events: 15 | - commandStartedEvent: 16 | command: 0 17 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCommandEvent-commandSucceededEvent-reply-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedCommandEvent-commandSucceededEvent-reply-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectEvents: 13 | - client: *client0 14 | events: 15 | - commandSucceededEvent: 16 | reply: 0 17 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCommandEvent-maxProperties.yml: -------------------------------------------------------------------------------- 1 | description: "expectedCommandEvent-maxProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectEvents: 13 | - client: *client0 14 | events: 15 | - commandStartedEvent: {} 16 | commandSucceededEvent: {} 17 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedCommandEvent-minProperties.yml: -------------------------------------------------------------------------------- 1 | description: "expectedCommandEvent-minProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectEvents: 13 | - client: *client0 14 | events: 15 | - {} 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-additionalProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | foo: 0 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-errorCode-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-errorCode-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | errorCode: "foo" 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-errorCodeName-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-errorCodeName-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | errorCodeName: 0 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-errorContains-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-errorContains-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | errorContains: 0 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-errorLabelsContain-items.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-errorLabelsContain-items" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | errorLabelsContain: [0] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-errorLabelsContain-minItems.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-errorLabelsContain-minItems" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | errorLabelsContain: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-errorLabelsContain-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-errorLabelsContain-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | errorLabelsContain: 0 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-errorLabelsOmit-items.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-errorLabelsOmit-items" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | errorLabelsOmit: [0] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-errorLabelsOmit-minItems.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-errorLabelsOmit-minItems" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | errorLabelsOmit: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-errorLabelsOmit-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-errorLabelsOmit-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | errorLabelsOmit: 0 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-errorResponse-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-errorResponse-type" 2 | 3 | schemaVersion: "1.12" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | errorResponse: 0 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-isClientError-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-isClientError-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | isClientError: 0 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-isError-const.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-isError-const" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | isError: false 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-isError-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-isError-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | isError: 0 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-isTimeoutError-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-isTimeoutError-type" 2 | 3 | schemaVersion: "1.9" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | isTimeoutError: 0 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedError-minProperties.yml: -------------------------------------------------------------------------------- 1 | description: "expectedError-minProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: {} 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedEventsForClient-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: "expectedEventsForClient-additionalProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectEvents: 13 | - client: *client0 14 | events: [] 15 | foo: 0 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedEventsForClient-client-required.yml: -------------------------------------------------------------------------------- 1 | description: "expectedEventsForClient-client-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectEvents: 13 | - events: [] 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedEventsForClient-client-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedEventsForClient-client-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectEvents: 13 | - client: 0 14 | events: [] 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedEventsForClient-eventType-enum.yml: -------------------------------------------------------------------------------- 1 | description: expectedEventsForClient-eventType-enum 2 | 3 | schemaVersion: '1.3' 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 client0 8 | 9 | tests: 10 | - description: invalid eventType value 11 | operations: [] 12 | expectEvents: 13 | - client: *client0 14 | eventType: foo 15 | events: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedEventsForClient-eventType-type.yml: -------------------------------------------------------------------------------- 1 | description: expectedEventsForClient-eventType-type 2 | 3 | schemaVersion: '1.3' 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 client0 8 | 9 | tests: 10 | - description: invalid eventType type 11 | operations: [] 12 | expectEvents: 13 | - client: *client0 14 | eventType: 10 15 | events: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedEventsForClient-events-items.yml: -------------------------------------------------------------------------------- 1 | description: "expectedEventsForClient-events-items" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectEvents: 13 | - client: *client0 14 | events: [0] 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedEventsForClient-events-required.yml: -------------------------------------------------------------------------------- 1 | description: "expectedEventsForClient-events-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectEvents: 13 | - client: *client0 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedEventsForClient-events-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedEventsForClient-events-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectEvents: 13 | - client: *client0 14 | events: 0 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedEventsForClient-ignoreExtraEvents-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedEventsForClient-ignoreExtraEvents-type" 2 | 3 | schemaVersion: "1.7" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectEvents: 13 | - client: *client0 14 | events: [] 15 | ignoreExtraEvents: 0 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessage-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessage-additionalProperties" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | messages: [] 15 | foo: 0 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessage-component-enum.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessage-component-enum" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | messages: 15 | - level: debug 16 | component: foo 17 | data: {} 18 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessage-component-required.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessage-component-type" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | messages: 15 | - level: debug 16 | data: {} 17 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessage-component-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessage-component-type" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | messages: 15 | - level: debug 16 | component: 0 17 | data: {} 18 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessage-data-required.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessage-data-required" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | messages: 15 | - level: debug 16 | component: command 17 | 18 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessage-data-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessage-data-type" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | messages: 15 | - level: debug 16 | component: command 17 | data: 0 18 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessage-level-enum.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessage-level-enum" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | messages: 15 | - level: foo 16 | component: command 17 | data: {} 18 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessage-level-required.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessage-level-required" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | messages: 15 | - component: command 16 | data: {} 17 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessage-level-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessage-level-type" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | messages: 15 | - level: 0 16 | component: command 17 | data: {} 18 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessagesForClient-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessagesForClient-additionalProperties" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | messages: [] 15 | foo: 0 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessagesForClient-client-required.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessagesForClient-client-required" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - messages: [] 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessagesForClient-client-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedEventsForClient-client-type" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: 0 14 | messages: [] 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessagesForClient-ignoreExtraMessages-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessagesForClient-ignoreExtraMessages-type" 2 | 3 | schemaVersion: "1.16" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | ignoreExtraMessages: "true" 15 | messages: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessagesForClient-ignoreMessages-items.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessagesForClient-ignoreMessages-items" 2 | 3 | schemaVersion: "1.16" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | messages: [] 15 | ignoreMessages: [0] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessagesForClient-ignoreMessages-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessagesForClient-ignoreMessages-type" 2 | 3 | schemaVersion: "1.16" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | messages: [] 15 | ignoreMessages: 0 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessagesForClient-messages-items.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessagesForClient-messages-items" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | messages: [0] 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessagesForClient-messages-required.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessagesForClient-messages-required" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedLogMessagesForClient-messages-type.yml: -------------------------------------------------------------------------------- 1 | description: "expectedLogMessagesForClient-messages-type" 2 | 3 | schemaVersion: "1.13" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | expectLogMessages: 13 | - client: *client0 14 | messages: 0 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedSdamEvent-serverDescriptionChangedEvent-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: expectedSdamEvent-serverDescriptionChangedEvent-additionalProperties 2 | 3 | schemaVersion: '1.10' 4 | 5 | tests: 6 | - description: foo 7 | operations: [] 8 | expectEvents: 9 | - client: client0 10 | eventType: sdam 11 | events: 12 | - serverDescriptionChangedEvent: 13 | foo: bar 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/expectedSdamEvent-topologyDescriptionChangedEvent-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: expectedSdamEvent-topologyDescriptionChangedEvent-additionalProperties 2 | 3 | schemaVersion: '1.14' 4 | 5 | tests: 6 | - description: foo 7 | operations: [] 8 | expectEvents: 9 | - client: client0 10 | eventType: sdam 11 | events: 12 | - topologyDescriptionChangedEvent: 13 | foo: bar 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/initialData-items.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "initialData-items", 3 | "schemaVersion": "1.0", 4 | "initialData": [ 5 | 0 6 | ], 7 | "tests": [ 8 | { 9 | "description": "foo", 10 | "operations": [] 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/initialData-items.yml: -------------------------------------------------------------------------------- 1 | description: "initialData-items" 2 | 3 | schemaVersion: "1.0" 4 | 5 | initialData: [0] 6 | 7 | tests: 8 | - description: "foo" 9 | operations: [] 10 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/initialData-minItems.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "initialData-minItems", 3 | "schemaVersion": "1.0", 4 | "initialData": [], 5 | "tests": [ 6 | { 7 | "description": "foo", 8 | "operations": [] 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/initialData-minItems.yml: -------------------------------------------------------------------------------- 1 | description: "initialData-minItems" 2 | 3 | schemaVersion: "1.0" 4 | 5 | initialData: [] 6 | 7 | tests: 8 | - description: "foo" 9 | operations: [] 10 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/initialData-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "initialData-type", 3 | "schemaVersion": "1.0", 4 | "initialData": 0, 5 | "tests": [ 6 | { 7 | "description": "foo", 8 | "operations": [] 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/initialData-type.yml: -------------------------------------------------------------------------------- 1 | description: "initialData-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | initialData: 0 6 | 7 | tests: 8 | - description: "foo" 9 | operations: [] 10 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: "operation-additionalProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | foo: 0 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-arguments-type.yml: -------------------------------------------------------------------------------- 1 | description: "operation-arguments-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | arguments: 0 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-expectError-conflicts_with_expectResult.yml: -------------------------------------------------------------------------------- 1 | description: "operation-expectError-conflicts_with_expectResult" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 15 | isError: true 16 | expectResult: {} 17 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-expectError-type.yml: -------------------------------------------------------------------------------- 1 | description: "operation-expectError-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectError: 0 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-expectEvents-type.yml: -------------------------------------------------------------------------------- 1 | description: "operation-expectEvents-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | expectEvents: 0 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-ignoreResultAndError-conflicts_with_expectError.yml: -------------------------------------------------------------------------------- 1 | description: operation-ignoreResultAndError-conflicts_with_expectError 2 | 3 | schemaVersion: '1.3' 4 | 5 | tests: 6 | - description: ignoreResultAndError used with expectError 7 | operations: 8 | - name: foo 9 | object: bar 10 | ignoreResultAndError: true 11 | expectError: 12 | isError: true 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-ignoreResultAndError-conflicts_with_expectResult.yml: -------------------------------------------------------------------------------- 1 | description: operation-ignoreResultAndError-conflicts_with_expectResult 2 | 3 | schemaVersion: '1.3' 4 | 5 | tests: 6 | - description: ignoreResultAndError used with expectResult 7 | operations: 8 | - name: foo 9 | object: bar 10 | ignoreResultAndError: true 11 | expectResult: 1 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-ignoreResultAndError-conflicts_with_saveResultAsEntity.yml: -------------------------------------------------------------------------------- 1 | description: operation-ignoreResultAndError-conflicts_with_saveResultAsEntity 2 | 3 | schemaVersion: '1.3' 4 | 5 | tests: 6 | - description: ignoreResultAndError used with saveResultAsEntity 7 | operations: 8 | - name: foo 9 | object: bar 10 | ignoreResultAndError: true 11 | saveResultAsEntity: entity0 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-name-required.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "operation-name-required", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0" 8 | } 9 | } 10 | ], 11 | "tests": [ 12 | { 13 | "description": "foo", 14 | "operations": [ 15 | { 16 | "object": "client0" 17 | } 18 | ] 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-name-required.yml: -------------------------------------------------------------------------------- 1 | description: "operation-name-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - object: *client0 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-name-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "operation-name-type", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0" 8 | } 9 | } 10 | ], 11 | "tests": [ 12 | { 13 | "description": "foo", 14 | "operations": [ 15 | { 16 | "name": 0, 17 | "object": "client0" 18 | } 19 | ] 20 | } 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-name-type.yml: -------------------------------------------------------------------------------- 1 | description: "operation-name-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: 0 13 | object: *client0 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-object-required.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "operation-object-required", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0" 8 | } 9 | } 10 | ], 11 | "tests": [ 12 | { 13 | "description": "foo", 14 | "operations": [ 15 | { 16 | "name": "foo" 17 | } 18 | ] 19 | } 20 | ] 21 | } 22 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-object-required.yml: -------------------------------------------------------------------------------- 1 | description: "operation-object-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-object-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "operation-object-type", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "client": { 7 | "id": "client0" 8 | } 9 | } 10 | ], 11 | "tests": [ 12 | { 13 | "description": "foo", 14 | "operations": [ 15 | { 16 | "name": "foo", 17 | "object": 0 18 | } 19 | ] 20 | } 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-object-type.yml: -------------------------------------------------------------------------------- 1 | description: "operation-object-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: 0 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/operation-saveResultAsEntity-type.yml: -------------------------------------------------------------------------------- 1 | description: "operation-saveResultAsEntity-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | 9 | tests: 10 | - description: "foo" 11 | operations: 12 | - name: "foo" 13 | object: *client0 14 | saveResultAsEntity: 0 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-additionalProperties.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirement-additionalProperties", 3 | "schemaVersion": "1.0", 4 | "runOnRequirements": [ 5 | { 6 | "minServerVersion": "4.0", 7 | "foo": 0 8 | } 9 | ], 10 | "tests": [ 11 | { 12 | "description": "foo", 13 | "operations": [] 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: "runOnRequirement-additionalProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | runOnRequirements: 6 | - minServerVersion: "4.0" 7 | foo: 0 8 | 9 | tests: 10 | - description: "foo" 11 | operations: [] 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-auth-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirement-auth-type", 3 | "schemaVersion": "1.3", 4 | "runOnRequirements": [ 5 | { 6 | "auth": "foo" 7 | } 8 | ], 9 | "tests": [ 10 | { 11 | "description": "foo", 12 | "operations": [] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-auth-type.yml: -------------------------------------------------------------------------------- 1 | description: runOnRequirement-auth-type 2 | 3 | schemaVersion: '1.3' 4 | 5 | runOnRequirements: 6 | - auth: foo 7 | 8 | tests: 9 | - description: foo 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-authMechanism-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirement-authMechanism-type", 3 | "schemaVersion": "1.19", 4 | "runOnRequirements": [ 5 | { 6 | "authMechanism": 0 7 | } 8 | ], 9 | "tests": [ 10 | { 11 | "description": "foo", 12 | "operations": [] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-authMechanism-type.yml: -------------------------------------------------------------------------------- 1 | description: runOnRequirement-authMechanism-type 2 | 3 | schemaVersion: '1.19' 4 | 5 | runOnRequirements: 6 | - authMechanism: 0 7 | 8 | tests: 9 | - description: foo 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-csfle-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirement-csfle-type", 3 | "schemaVersion": "1.8", 4 | "runOnRequirements": [ 5 | { 6 | "csfle": "foo" 7 | } 8 | ], 9 | "tests": [ 10 | { 11 | "description": "foo", 12 | "operations": [] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-csfle-type.yml: -------------------------------------------------------------------------------- 1 | description: "runOnRequirement-csfle-type" 2 | 3 | schemaVersion: "1.8" 4 | 5 | runOnRequirements: 6 | - csfle: foo 7 | 8 | tests: 9 | - description: "foo" 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-maxServerVersion-pattern.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirement-maxServerVersion-pattern", 3 | "schemaVersion": "1.0", 4 | "runOnRequirements": [ 5 | { 6 | "maxServerVersion": "1.2.3.4" 7 | } 8 | ], 9 | "tests": [ 10 | { 11 | "description": "foo", 12 | "operations": [] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-maxServerVersion-pattern.yml: -------------------------------------------------------------------------------- 1 | description: "runOnRequirement-maxServerVersion-pattern" 2 | 3 | schemaVersion: "1.0" 4 | 5 | runOnRequirements: 6 | - maxServerVersion: "1.2.3.4" 7 | 8 | tests: 9 | - description: "foo" 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-maxServerVersion-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirement-maxServerVersion-type", 3 | "schemaVersion": "1.0", 4 | "runOnRequirements": [ 5 | { 6 | "maxServerVersion": 0 7 | } 8 | ], 9 | "tests": [ 10 | { 11 | "description": "foo", 12 | "operations": [] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-maxServerVersion-type.yml: -------------------------------------------------------------------------------- 1 | description: "runOnRequirement-maxServerVersion-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | runOnRequirements: 6 | - maxServerVersion: 0 7 | 8 | tests: 9 | - description: "foo" 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-minProperties.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirement-minProperties", 3 | "schemaVersion": "1.0", 4 | "runOnRequirements": [ 5 | {} 6 | ], 7 | "tests": [ 8 | { 9 | "description": "foo", 10 | "operations": [] 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-minProperties.yml: -------------------------------------------------------------------------------- 1 | description: "runOnRequirement-minProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | runOnRequirements: 6 | - {} 7 | 8 | tests: 9 | - description: "foo" 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-minServerVersion-pattern.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirement-minServerVersion-pattern", 3 | "schemaVersion": "1.0", 4 | "runOnRequirements": [ 5 | { 6 | "minServerVersion": "1.2.3.4" 7 | } 8 | ], 9 | "tests": [ 10 | { 11 | "description": "foo", 12 | "operations": [] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-minServerVersion-pattern.yml: -------------------------------------------------------------------------------- 1 | description: "runOnRequirement-minServerVersion-pattern" 2 | 3 | schemaVersion: "1.0" 4 | 5 | runOnRequirements: 6 | - minServerVersion: "1.2.3.4" 7 | 8 | tests: 9 | - description: "foo" 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-minServerVersion-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirement-minServerVersion-type", 3 | "schemaVersion": "1.0", 4 | "runOnRequirements": [ 5 | { 6 | "minServerVersion": 0 7 | } 8 | ], 9 | "tests": [ 10 | { 11 | "description": "foo", 12 | "operations": [] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-minServerVersion-type.yml: -------------------------------------------------------------------------------- 1 | description: "runOnRequirement-minServerVersion-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | runOnRequirements: 6 | - minServerVersion: 0 7 | 8 | tests: 9 | - description: "foo" 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-serverless-enum.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirement-serverless-enum", 3 | "schemaVersion": "1.4", 4 | "runOnRequirements": [ 5 | { 6 | "serverless": "foo" 7 | } 8 | ], 9 | "tests": [ 10 | { 11 | "description": "foo", 12 | "operations": [] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-serverless-enum.yml: -------------------------------------------------------------------------------- 1 | description: "runOnRequirement-serverless-enum" 2 | 3 | schemaVersion: "1.4" 4 | 5 | runOnRequirements: 6 | - serverless: "foo" 7 | 8 | tests: 9 | - description: "foo" 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-serverless-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirement-serverless-type", 3 | "schemaVersion": "1.4", 4 | "runOnRequirements": [ 5 | { 6 | "serverless": 1234 7 | } 8 | ], 9 | "tests": [ 10 | { 11 | "description": "foo", 12 | "operations": [] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-serverless-type.yml: -------------------------------------------------------------------------------- 1 | description: runOnRequirement-serverless-type 2 | 3 | schemaVersion: '1.4' 4 | 5 | runOnRequirements: 6 | - serverless: 1234 7 | 8 | tests: 9 | - description: foo 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-topologies-enum.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirement-topologies-enum", 3 | "schemaVersion": "1.0", 4 | "runOnRequirements": [ 5 | { 6 | "topologies": [ 7 | "foo" 8 | ] 9 | } 10 | ], 11 | "tests": [ 12 | { 13 | "description": "foo", 14 | "operations": [] 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-topologies-enum.yml: -------------------------------------------------------------------------------- 1 | description: "runOnRequirement-topologies-enum" 2 | 3 | schemaVersion: "1.0" 4 | 5 | runOnRequirements: 6 | - topologies: ["foo"] 7 | 8 | tests: 9 | - description: "foo" 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-topologies-items.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirement-topologies-items", 3 | "schemaVersion": "1.0", 4 | "runOnRequirements": [ 5 | { 6 | "topologies": [ 7 | 0 8 | ] 9 | } 10 | ], 11 | "tests": [ 12 | { 13 | "description": "foo", 14 | "operations": [] 15 | } 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-topologies-items.yml: -------------------------------------------------------------------------------- 1 | description: "runOnRequirement-topologies-items" 2 | 3 | schemaVersion: "1.0" 4 | 5 | runOnRequirements: 6 | - topologies: [0] 7 | 8 | tests: 9 | - description: "foo" 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-topologies-minItems.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirement-topologies-minItems", 3 | "schemaVersion": "1.0", 4 | "runOnRequirements": [ 5 | { 6 | "topologies": [] 7 | } 8 | ], 9 | "tests": [ 10 | { 11 | "description": "foo", 12 | "operations": [] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-topologies-minItems.yml: -------------------------------------------------------------------------------- 1 | description: "runOnRequirement-topologies-minItems" 2 | 3 | schemaVersion: "1.0" 4 | 5 | runOnRequirements: 6 | - topologies: [] 7 | 8 | tests: 9 | - description: "foo" 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-topologies-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirement-topologies-type", 3 | "schemaVersion": "1.0", 4 | "runOnRequirements": [ 5 | { 6 | "topologies": 0 7 | } 8 | ], 9 | "tests": [ 10 | { 11 | "description": "foo", 12 | "operations": [] 13 | } 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirement-topologies-type.yml: -------------------------------------------------------------------------------- 1 | description: "runOnRequirement-topologies-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | runOnRequirements: 6 | - topologies: 0 7 | 8 | tests: 9 | - description: "foo" 10 | operations: [] 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirements-items.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirements-items", 3 | "schemaVersion": "1.0", 4 | "runOnRequirements": [ 5 | 0 6 | ], 7 | "tests": [ 8 | { 9 | "description": "foo", 10 | "operations": [] 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirements-items.yml: -------------------------------------------------------------------------------- 1 | description: "runOnRequirements-items" 2 | 3 | schemaVersion: "1.0" 4 | 5 | runOnRequirements: [0] 6 | 7 | tests: 8 | - description: "foo" 9 | operations: [] 10 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirements-minItems.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirements-minItems", 3 | "schemaVersion": "1.0", 4 | "runOnRequirements": [], 5 | "tests": [ 6 | { 7 | "description": "foo", 8 | "operations": [] 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirements-minItems.yml: -------------------------------------------------------------------------------- 1 | description: "runOnRequirements-minItems" 2 | 3 | schemaVersion: "1.0" 4 | 5 | runOnRequirements: [] 6 | 7 | tests: 8 | - description: "foo" 9 | operations: [] 10 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirements-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "runOnRequirements-type", 3 | "schemaVersion": "1.0", 4 | "runOnRequirements": 0, 5 | "tests": [ 6 | { 7 | "description": "foo", 8 | "operations": [] 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/runOnRequirements-type.yml: -------------------------------------------------------------------------------- 1 | description: "runOnRequirements-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | runOnRequirements: 0 6 | 7 | tests: 8 | - description: "foo" 9 | operations: [] 10 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/schemaVersion-pattern.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "schemaVersion-pattern", 3 | "schemaVersion": "1.2.3.4", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [] 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/schemaVersion-pattern.yml: -------------------------------------------------------------------------------- 1 | description: "schemaVersion-pattern" 2 | 3 | schemaVersion: "1.2.3.4" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/schemaVersion-required.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "schemaVersion-required", 3 | "tests": [ 4 | { 5 | "description": "foo", 6 | "operations": [] 7 | } 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/schemaVersion-required.yml: -------------------------------------------------------------------------------- 1 | description: "schemaVersion-required" 2 | 3 | tests: 4 | - description: "foo" 5 | operations: [] 6 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/schemaVersion-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "schemaVersion-type", 3 | "schemaVersion": 0, 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [] 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/schemaVersion-type.yml: -------------------------------------------------------------------------------- 1 | description: "schemaVersion-type" 2 | 3 | schemaVersion: 0 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/storeEventsAsEntity-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: "storeEventsAsEntity-additionalProperties" 2 | 3 | schemaVersion: "1.2" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | storeEventsAsEntities: 9 | - id: "client0_events" 10 | events: ["CommandStartedEvent"] 11 | foo: 0 12 | 13 | tests: 14 | - description: "foo" 15 | operations: [] 16 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/storeEventsAsEntity-events-enum.yml: -------------------------------------------------------------------------------- 1 | description: "storeEventsAsEntity-events-enum" 2 | 3 | schemaVersion: "1.2" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | storeEventsAsEntities: 9 | - id: "client0_events" 10 | events: ["foo"] 11 | 12 | tests: 13 | - description: "foo" 14 | operations: [] 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/storeEventsAsEntity-events-minItems.yml: -------------------------------------------------------------------------------- 1 | description: "storeEventsAsEntity-events-minItems" 2 | 3 | schemaVersion: "1.2" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | storeEventsAsEntities: 9 | - id: "client0_events" 10 | events: [] 11 | 12 | tests: 13 | - description: "foo" 14 | operations: [] 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/storeEventsAsEntity-events-required.yml: -------------------------------------------------------------------------------- 1 | description: "storeEventsAsEntity-events-required" 2 | 3 | schemaVersion: "1.2" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | storeEventsAsEntities: 9 | - id: "client0_events" 10 | 11 | tests: 12 | - description: "foo" 13 | operations: [] 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/storeEventsAsEntity-events-type.yml: -------------------------------------------------------------------------------- 1 | description: "storeEventsAsEntity-events-type" 2 | 3 | schemaVersion: "1.2" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | storeEventsAsEntities: 9 | - id: "client0_events" 10 | events: 0 11 | 12 | tests: 13 | - description: "foo" 14 | operations: [] 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/storeEventsAsEntity-id-required.yml: -------------------------------------------------------------------------------- 1 | description: "storeEventsAsEntity-id-required" 2 | 3 | schemaVersion: "1.2" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | storeEventsAsEntities: 9 | - events: ["CommandStartedEvent"] 10 | 11 | tests: 12 | - description: "foo" 13 | operations: [] 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/storeEventsAsEntity-id-type.yml: -------------------------------------------------------------------------------- 1 | description: "storeEventsAsEntity-id-type" 2 | 3 | schemaVersion: "1.2" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 "client0" 8 | storeEventsAsEntities: 9 | - id: 0 10 | events: ["CommandStartedEvent"] 11 | 12 | tests: 13 | - description: "foo" 14 | operations: [] 15 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-additionalProperties.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-additionalProperties", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [], 8 | "foo": 0 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-additionalProperties.yml: -------------------------------------------------------------------------------- 1 | description: "test-additionalProperties" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | foo: 0 9 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-description-required.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-description-required", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "operation": [] 7 | } 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-description-required.yml: -------------------------------------------------------------------------------- 1 | description: "test-description-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - operation: [] 7 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-description-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-description-type", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": 0, 7 | "operation": [] 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-description-type.yml: -------------------------------------------------------------------------------- 1 | description: "test-description-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: 0 7 | operation: [] 8 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-expectEvents-items.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-expectEvents-items", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [], 8 | "expectEvents": [ 9 | 0 10 | ] 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-expectEvents-items.yml: -------------------------------------------------------------------------------- 1 | description: "test-expectEvents-items" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | expectEvents: [0] 9 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-expectEvents-minItems.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-expectEvents-minItems", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [], 8 | "expectEvents": [] 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-expectEvents-minItems.yml: -------------------------------------------------------------------------------- 1 | description: "test-expectEvents-minItems" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | expectEvents: [] 9 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-expectEvents-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-expectEvents-type", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [], 8 | "expectEvents": 0 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-expectEvents-type.yml: -------------------------------------------------------------------------------- 1 | description: "test-expectEvents-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | expectEvents: 0 9 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-expectLogMessages-items.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-expectLogMessages-items", 3 | "schemaVersion": "1.13", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [], 8 | "expectLogMessages": [ 9 | 0 10 | ] 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-expectLogMessages-items.yml: -------------------------------------------------------------------------------- 1 | description: "test-expectLogMessages-items" 2 | 3 | schemaVersion: "1.13" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | expectLogMessages: [0] 9 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-expectLogMessages-minItems.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-expectLogMessages-minItems", 3 | "schemaVersion": "1.11", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [], 8 | "expectLogMessages": [] 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-expectLogMessages-minItems.yml: -------------------------------------------------------------------------------- 1 | description: "test-expectLogMessages-minItems" 2 | 3 | schemaVersion: "1.11" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | expectLogMessages: [] 9 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-expectLogMessages-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-expectLogMessages-type", 3 | "schemaVersion": "1.13", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [], 8 | "expectLogMessages": 0 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-expectLogMessages-type.yml: -------------------------------------------------------------------------------- 1 | description: "test-expectLogMessages-type" 2 | 3 | schemaVersion: "1.13" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | expectLogMessages: 0 9 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-operations-items.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-operations-items", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [ 8 | 0 9 | ] 10 | } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-operations-items.yml: -------------------------------------------------------------------------------- 1 | description: "test-operations-items" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [0] 8 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-operations-required.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-operations-required", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": "foo" 7 | } 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-operations-required.yml: -------------------------------------------------------------------------------- 1 | description: "test-operations-required" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "foo" 7 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-operations-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-operations-type", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": 0 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-operations-type.yml: -------------------------------------------------------------------------------- 1 | description: "test-operations-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: 0 8 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-outcome-items.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-outcome-items", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [], 8 | "outcome": [ 9 | 0 10 | ] 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-outcome-items.yml: -------------------------------------------------------------------------------- 1 | description: "test-outcome-items" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | outcome: [0] 9 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-outcome-minItems.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-outcome-minItems", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [], 8 | "outcome": [] 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-outcome-minItems.yml: -------------------------------------------------------------------------------- 1 | description: "test-outcome-minItems" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | outcome: [] 9 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-outcome-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-outcome-type", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [], 8 | "outcome": 0 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-outcome-type.yml: -------------------------------------------------------------------------------- 1 | description: "test-outcome-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | outcome: 0 9 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-runOnRequirements-items.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-runOnRequirements-items", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [], 8 | "runOnRequirements": [ 9 | 0 10 | ] 11 | } 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-runOnRequirements-items.yml: -------------------------------------------------------------------------------- 1 | description: "test-runOnRequirements-items" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | runOnRequirements: [0] 9 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-runOnRequirements-minItems.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-runOnRequirements-minItems", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [], 8 | "runOnRequirements": [] 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-runOnRequirements-minItems.yml: -------------------------------------------------------------------------------- 1 | description: "test-runOnRequirements-minItems" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | runOnRequirements: [] 9 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-runOnRequirements-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-runOnRequirements-type", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [], 8 | "runOnRequirements": 0 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-runOnRequirements-type.yml: -------------------------------------------------------------------------------- 1 | description: "test-runOnRequirements-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | runOnRequirements: 0 9 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-skipReason-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "test-skipReason-type", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [], 8 | "skipReason": 0 9 | } 10 | ] 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/test-skipReason-type.yml: -------------------------------------------------------------------------------- 1 | description: "test-skipReason-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | skipReason: 0 9 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/tests-items.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "tests-items", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | 0 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/tests-items.yml: -------------------------------------------------------------------------------- 1 | description: "tests-items" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: [0] 6 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/tests-minItems.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "tests-minItems", 3 | "schemaVersion": "1.0", 4 | "tests": [] 5 | } 6 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/tests-minItems.yml: -------------------------------------------------------------------------------- 1 | description: "tests-minItems" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: [] 6 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/tests-required.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "tests-required", 3 | "schemaVersion": "1.0" 4 | } 5 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/tests-required.yml: -------------------------------------------------------------------------------- 1 | description: "tests-required" 2 | 3 | schemaVersion: "1.0" 4 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/tests-type.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "tests-type", 3 | "schemaVersion": "1.0", 4 | "tests": 0 5 | } 6 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/invalid/tests-type.yml: -------------------------------------------------------------------------------- 1 | description: "tests-type" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 0 6 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/valid-fail/entity-bucket-database-undefined.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-bucket-database-undefined", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "bucket": { 7 | "id": "bucket0", 8 | "database": "foo" 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/valid-fail/entity-bucket-database-undefined.yml: -------------------------------------------------------------------------------- 1 | description: "entity-bucket-database-undefined" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - bucket: 7 | id: &bucket0 "bucket0" 8 | database: "foo" 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/valid-fail/entity-client-apiVersion-unsupported.yml: -------------------------------------------------------------------------------- 1 | description: "entity-client-apiVersion-unsupported" 2 | 3 | schemaVersion: "1.1" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 client0 8 | serverApi: 9 | version: "server_will_never_support_this_api_version" 10 | 11 | tests: 12 | - description: "foo" 13 | operations: [] 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/valid-fail/entity-collection-database-undefined.yml: -------------------------------------------------------------------------------- 1 | description: "entity-collection-database-undefined" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - collection: 7 | id: &collection0 "collection0" 8 | database: "foo" 9 | collectionName: "foo" 10 | 11 | tests: 12 | - description: "foo" 13 | operations: [] 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/valid-fail/entity-database-client-undefined.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-database-client-undefined", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "database": { 7 | "id": "database0", 8 | "client": "foo", 9 | "databaseName": "foo" 10 | } 11 | } 12 | ], 13 | "tests": [ 14 | { 15 | "description": "foo", 16 | "operations": [] 17 | } 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/valid-fail/entity-database-client-undefined.yml: -------------------------------------------------------------------------------- 1 | description: "entity-database-client-undefined" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - database: 7 | id: &database0 "database0" 8 | client: "foo" 9 | databaseName: "foo" 10 | 11 | tests: 12 | - description: "foo" 13 | operations: [] 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/valid-fail/entity-session-client-undefined.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "entity-session-client-undefined", 3 | "schemaVersion": "1.0", 4 | "createEntities": [ 5 | { 6 | "session": { 7 | "id": "session0", 8 | "client": "foo" 9 | } 10 | } 11 | ], 12 | "tests": [ 13 | { 14 | "description": "foo", 15 | "operations": [] 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/valid-fail/entity-session-client-undefined.yml: -------------------------------------------------------------------------------- 1 | description: "entity-session-client-undefined" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - session: 7 | id: &session0 "session0" 8 | client: "foo" 9 | 10 | tests: 11 | - description: "foo" 12 | operations: [] 13 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/valid-fail/operation-unsupported.yml: -------------------------------------------------------------------------------- 1 | description: "operation-unsupported" 2 | 3 | schemaVersion: "1.0" 4 | 5 | createEntities: 6 | - client: 7 | id: &client0 client0 8 | 9 | tests: 10 | - description: "Unsupported operation" 11 | operations: 12 | - name: unsupportedOperation 13 | object: *client0 14 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/valid-fail/schemaVersion-unsupported.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "schemaVersion-unsupported", 3 | "schemaVersion": "0.1", 4 | "tests": [ 5 | { 6 | "description": "foo", 7 | "operations": [] 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/valid-fail/schemaVersion-unsupported.yml: -------------------------------------------------------------------------------- 1 | description: "schemaVersion-unsupported" 2 | 3 | schemaVersion: "0.1" 4 | 5 | tests: 6 | - description: "foo" 7 | operations: [] 8 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/valid-pass/operation-empty_array.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "operation-empty_array", 3 | "schemaVersion": "1.0", 4 | "tests": [ 5 | { 6 | "description": "Empty operations array", 7 | "operations": [] 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /src/test/spec/json/unified-test-format/valid-pass/operation-empty_array.yml: -------------------------------------------------------------------------------- 1 | description: "operation-empty_array" 2 | 3 | schemaVersion: "1.0" 4 | 5 | tests: 6 | - description: "Empty operations array" 7 | operations: [] 8 | -------------------------------------------------------------------------------- /src/test/spec/json/uri-options/ca.pem: -------------------------------------------------------------------------------- 1 | # This file exists solely for the purpose of facilitating drivers which check for the existence of files specified in the URI options at parse time. 2 | -------------------------------------------------------------------------------- /src/test/spec/json/uri-options/cert.pem: -------------------------------------------------------------------------------- 1 | # This file exists solely for the purpose of facilitating drivers which check for the existence of files specified in the URI options at parse time. 2 | -------------------------------------------------------------------------------- /src/test/spec/json/uri-options/client.pem: -------------------------------------------------------------------------------- 1 | # This file exists solely for the purpose of facilitating drivers which check for the existence of files specified in the URI options at parse time. 2 | -------------------------------------------------------------------------------- /src/test/spec/read_write_concern.rs: -------------------------------------------------------------------------------- 1 | mod connection_string; 2 | mod document; 3 | 4 | use crate::test::spec::unified_runner::run_unified_tests; 5 | 6 | #[tokio::test] 7 | async fn operation() { 8 | run_unified_tests(&["read-write-concern", "operation"]).await; 9 | } 10 | -------------------------------------------------------------------------------- /src/test/spec/run_command.rs: -------------------------------------------------------------------------------- 1 | use crate::test::spec::unified_runner::run_unified_tests; 2 | 3 | #[tokio::test(flavor = "multi_thread")] // multi_thread required for FailPoint 4 | async fn run_unified() { 5 | run_unified_tests(&["run-command", "unified"]) 6 | .skip_tests(&[ 7 | // TODO RUST-1649: unskip when withTransaction is implemented 8 | "attaches transaction fields to given command", 9 | ]) 10 | .await; 11 | } 12 | -------------------------------------------------------------------------------- /src/test/spec/versioned_api.rs: -------------------------------------------------------------------------------- 1 | use crate::test::spec::unified_runner::run_unified_tests; 2 | 3 | #[tokio::test] 4 | async fn run_unified() { 5 | run_unified_tests(&["versioned-api"]).await; 6 | } 7 | --------------------------------------------------------------------------------