Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DPE-2442] Add juju secrets support #242

Merged
merged 23 commits into from
Sep 15, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix tls tests
  • Loading branch information
Dmitry Ratushnyy authored and dmitry-ratushnyy committed Sep 13, 2023
commit dee1282fba9d17884e48c70be2a5f1e93211de08
1 change: 1 addition & 0 deletions tests/integration/tls_tests/helpers.py
Original file line number Diff line number Diff line change
@@ -2,6 +2,7 @@
# Copyright 2023 Canonical Ltd.
# See LICENSE file for licensing details.
from datetime import datetime
from importlib.metadata import version

import ops
from pytest_operator.plugin import OpsTest
2 changes: 1 addition & 1 deletion tests/integration/tls_tests/test_tls.py
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@
TLS_TEST_DATA = "tests/integration/tls_tests/data"
DB_SERVICE = "snap.charmed-mongodb.mongod.service"


#@pytest.mark.skip(reason="Skipping until update tls certificates test and libray")
@pytest.mark.abort_on_fail
async def test_build_and_deploy(ops_test: OpsTest) -> None:
"""Build and deploy one unit of MongoDB and one unit of TLS."""
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -133,6 +133,7 @@ deps =
pytest
juju==3.2.0.1
pytest-operator
pytest-mock
-r {tox_root}/requirements.txt
commands =
pytest -v --tb native --log-cli-level=INFO -s --durations=0 {posargs} {[vars]tests_path}/integration/tls_tests/test_tls.py