Skip to content

Commit

Permalink
Add mongosh to tls-integration's helpers.py
Browse files Browse the repository at this point in the history
  • Loading branch information
phvalguima committed Sep 21, 2023
1 parent d4ff10b commit 89700eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/tls_tests/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
)
Expand Down

0 comments on commit 89700eb

Please sign in to comment.