From fb1c2a470a8d5be0572df0cb2642b61f5ea08197 Mon Sep 17 00:00:00 2001 From: vdimir Date: Thu, 14 Nov 2024 13:25:15 +0000 Subject: [PATCH] Fix test_storage_mongodb/test.py::test_secure_connection_uri --- tests/integration/test_storage_mongodb/test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/test_storage_mongodb/test.py b/tests/integration/test_storage_mongodb/test.py index ec098d7ac54..e810b613290 100644 --- a/tests/integration/test_storage_mongodb/test.py +++ b/tests/integration/test_storage_mongodb/test.py @@ -395,7 +395,7 @@ def test_secure_connection_uri(started_cluster): simple_mongo_table.insert_many(data) node = started_cluster.instances["node"] node.query( - "CREATE OR REPLACE TABLE test_secure_connection_uri(key UInt64, data String) ENGINE = MongoDB('mongodb://root:clickhouse@mongo_secure:27017/test?tls=true&tlsAllowInvalidCertificates=true&tlsAllowInvalidHostnames=true', 'test_secure_connection_uri')" + "CREATE OR REPLACE TABLE test_secure_connection_uri(key UInt64, data String) ENGINE = MongoDB('mongodb://root:clickhouse@mongo_secure:27017/test?tls=true&tlsAllowInvalidCertificates=true&tlsAllowInvalidHostnames=true&authSource=admin', 'test_secure_connection_uri')" ) assert node.query("SELECT COUNT() FROM test_secure_connection_uri") == "100\n"