From 89700eb33584da9388e19cae27722f278ea0b733 Mon Sep 17 00:00:00 2001 From: Pedro Guimaraes Date: Thu, 21 Sep 2023 11:23:24 +0200 Subject: [PATCH] Add mongosh to tls-integration's helpers.py --- tests/integration/tls_tests/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/tls_tests/helpers.py b/tests/integration/tls_tests/helpers.py index 1a4249627..cfc7fd121 100644 --- a/tests/integration/tls_tests/helpers.py +++ b/tests/integration/tls_tests/helpers.py @@ -33,7 +33,7 @@ async def mongo_tls_command(ops_test: OpsTest) -> str: replica_set_uri = f"mongodb://operator:" f"{password}@" f"{hosts}/admin?replicaSet={app}" return ( - f"charmed-mongodb.mongo '{replica_set_uri}' --eval 'rs.status()'" + f"charmed-mongodb.mongosh '{replica_set_uri}' --eval 'rs.status()'" f" --tls --tlsCAFile {EXTERNAL_CERT_PATH}" f" --tlsCertificateKeyFile {EXTERNAL_PEM_PATH}" )