diff --git a/tests/mongo-go-driver.yml b/tests/mongo-go-driver.yml index 1c9420d6f..1d18d0e45 100644 --- a/tests/mongo-go-driver.yml +++ b/tests/mongo-go-driver.yml @@ -34,6 +34,16 @@ results: - go.mongodb.org/mongo-driver/internal/integration/TestCausalConsistency_NotSupported - go.mongodb.org/mongo-driver/internal/integration/TestCausalConsistency_NotSupported/afterClusterTime_not_included - go.mongodb.org/mongo-driver/internal/integration/TestCausalConsistency_Supported + # unknown field \"startTransaction\" + - go.mongodb.org/mongo-driver/mongo/TestConvenientTransactions + - go.mongodb.org/mongo-driver/mongo/TestConvenientTransactions/abortTransaction_does_not_time_out + - go.mongodb.org/mongo-driver/mongo/TestConvenientTransactions/commitTransaction_timeout_allows_abortTransaction + - go.mongodb.org/mongo-driver/mongo/TestConvenientTransactions/context_error_before_commitTransaction_does_not_retry_and_aborts + # no such command: 'configureFailPoint' + - go.mongodb.org/mongo-driver/mongo/TestConvenientTransactions/retry_timeout_enforced + - go.mongodb.org/mongo-driver/mongo/TestConvenientTransactions/retry_timeout_enforced/commit_transient_transaction_error + - go.mongodb.org/mongo-driver/mongo/TestConvenientTransactions/retry_timeout_enforced/unknown_transaction_commit_result + - go.mongodb.org/mongo-driver/mongo/TestConvenientTransactions/slow_operation_in_callback_retries skip: - go.mongodb.org/mongo-driver/internal/integration/TestChangeStream_ReplicaSet - go.mongodb.org/mongo-driver/x/mongo/driver/integration/TestCompression @@ -44,6 +54,8 @@ results: - go.mongodb.org/mongo-driver/x/mongo/driver/topology/TestCMAPSpec/pool-checkout-returned-connection-maxConnecting.json - go.mongodb.org/mongo-driver/x/mongo/driver/topology/TestCMAPSpec/pool-close-destroy-conns.json - go.mongodb.org/mongo-driver/x/mongo/driver/topology/TestCMAPSpec/pool-create-min-size-error.json + - go.mongodb.org/mongo-driver/mongo/TestClient/mongocryptd_or_crypt_shared + - go.mongodb.org/mongo-driver/mongo/TestOCSP pass: - go.mongodb.org/mongo-driver/internal/integration/TestClient/ - go.mongodb.org/mongo-driver/internal/docexamples/TestDocumentationExamples/DeleteExamples @@ -131,6 +143,17 @@ results: - go.mongodb.org/mongo-driver/mongo/TestClient/replace_topology_error - go.mongodb.org/mongo-driver/mongo/TestClient/retry_reads - go.mongodb.org/mongo-driver/mongo/TestClient/retry_reads/custom_URI + - go.mongodb.org/mongo-driver/internal/integration/TestCausalConsistency_Supported/no_cluster_time_on_first_command + - go.mongodb.org/mongo-driver/mongo/TestClient/serverAPI_version + - go.mongodb.org/mongo-driver/mongo/TestClient/serverAPI_version/cannot_modify_options_after_client_creation + - go.mongodb.org/mongo-driver/mongo/TestClient/serverAPI_version/failure_with_unsupported_version + - go.mongodb.org/mongo-driver/mongo/TestClient/serverAPI_version/success_with_all_options + - go.mongodb.org/mongo-driver/mongo/TestConvenientTransactions/callback_raises_custom_error + - go.mongodb.org/mongo-driver/mongo/TestConvenientTransactions/callback_returns_value + - go.mongodb.org/mongo-driver/mongo/TestConvenientTransactions/canceled_context_before_callback_does_not_retry + - go.mongodb.org/mongo-driver/mongo/TestConvenientTransactions/expired_context_before_callback_does_not_retry + - go.mongodb.org/mongo-driver/mongo/TestConvenientTransactions/retry_timeout_enforced/transient_transaction_error + - go.mongodb.org/mongo-driver/mongo/TestConvenientTransactions/wrapped_transient_transaction_error_retried ignore: # indicates flaky tests that should be ignored @@ -157,9 +180,9 @@ results: postgresql: stats: - fail: 6 - skip: 8 - pass: 634 + fail: 15 + skip: 10 + pass: 791 ignore: include_ignore: - ignore @@ -175,9 +198,9 @@ results: sqlite: stats: - fail: 6 - skip: 8 - pass: 634 + fail: 15 + skip: 10 + pass: 791 ignore: include_ignore: - ignore diff --git a/tests/mongo.yml b/tests/mongo.yml index 6824c3d67..51e734f69 100644 --- a/tests/mongo.yml +++ b/tests/mongo.yml @@ -178,11 +178,7 @@ results: - mongo/jstests/core/write/find_and_modify/find_and_modify.js - mongo/jstests/core/write/find_and_modify/find_and_modify2.js - mongo/jstests/core/write/find_and_modify/find_and_modify3.js - - mongo/jstests/core/write/find_and_modify/find_and_modify4.js - # https://github.com/FerretDB/FerretDB/issues/1855 - - mongo/jstests/core/write/update/update8.js - # https://github.com/FerretDB/FerretDB/issues/1742 - - mongo/jstests/core/write/update/updateb.js + # https://github.com/FerretDB/FerretDB/issues/822 - mongo/jstests/core/write/update/updatel.js # https://docs.ferretdb.io/diff/ # 5. Document restrictions: @@ -200,8 +196,8 @@ results: postgresql: stats: - fail: 71 - pass: 46 + fail: 68 + pass: 49 fail: include_fail: - aggregation @@ -214,8 +210,8 @@ results: sqlite: stats: - fail: 71 - pass: 46 + fail: 68 + pass: 49 fail: include_fail: - aggregation diff --git a/tests/python-example b/tests/python-example index 9c3899ead..e9e10ff6a 160000 --- a/tests/python-example +++ b/tests/python-example @@ -1 +1 @@ -Subproject commit 9c3899eadd4638e783d5b4cbfa40ccadb8f9091e +Subproject commit e9e10ff6a75b493e015a828cd6604af7f03ea2bf diff --git a/tests/python-example-auth-scram-sha-1.sh b/tests/python-example-auth-scram-sha-1.sh index 987107900..e4c1ec2c6 100755 --- a/tests/python-example-auth-scram-sha-1.sh +++ b/tests/python-example-auth-scram-sha-1.sh @@ -2,6 +2,8 @@ set -ex -pip3 install pymongo +python3 -m venv . -python3 pymongo_test.py 'mongodb://user:password@localhost:27017/?replicaSet=rs0&authMechanism=SCRAM-SHA-1' +./bin/pip3 install -r requirements.txt + +./bin/python3 pymongo_test.py 'mongodb://user:password@localhost:27017/?replicaSet=rs0&authMechanism=SCRAM-SHA-1' diff --git a/tests/python-example-auth-scram-sha-256.sh b/tests/python-example-auth-scram-sha-256.sh index 02385b53c..2c9fb377b 100755 --- a/tests/python-example-auth-scram-sha-256.sh +++ b/tests/python-example-auth-scram-sha-256.sh @@ -2,6 +2,8 @@ set -ex -pip3 install pymongo +python3 -m venv . -python3 pymongo_test.py 'mongodb://user:password@localhost:27017/?replicaSet=rs0&authMechanism=SCRAM-SHA-256' +./bin/pip3 install -r requirements.txt + +./bin/python3 pymongo_test.py 'mongodb://user:password@localhost:27017/?replicaSet=rs0&authMechanism=SCRAM-SHA-256' diff --git a/tests/python-example-auth.sh b/tests/python-example-auth.sh index 9ca35c648..dd8425cdc 100755 --- a/tests/python-example-auth.sh +++ b/tests/python-example-auth.sh @@ -2,6 +2,8 @@ set -ex -pip3 install pymongo +python3 -m venv . -python3 pymongo_test.py 'mongodb://user:password@localhost:27017/?authMechanism=PLAIN' +./bin/pip3 install -r requirements.txt + +./bin/python3 pymongo_test.py 'mongodb://user:password@localhost:27017/?authMechanism=PLAIN' diff --git a/tests/python-example.sh b/tests/python-example.sh index 8c22f9c08..78789020f 100755 --- a/tests/python-example.sh +++ b/tests/python-example.sh @@ -2,6 +2,8 @@ set -ex -pip3 install pymongo +python3 -m venv . -python3 pymongo_test.py mongodb://localhost:27017/ +./bin/pip3 install -r requirements.txt + +./bin/python3 pymongo_test.py 'mongodb://localhost:27017/'