Skip to content

Commit 979df4b

Browse files
[DPE-3354] Update ops to ^2.15.0 to get pebble exec hanging fix (#471)
* Update ops to ^2.15.0 to get pebble exec hanging fix * Abort on fail node drain deploy test
1 parent 91671dd commit 979df4b

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

poetry.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ authors = []
1010

1111
[tool.poetry.dependencies]
1212
python = "^3.10"
13-
ops = "^2.7.0"
13+
ops = "^2.15.0"
1414
lightkube = "^0.14.0"
1515
tenacity = "^8.2.2"
1616
boto3 = "^1.28.22"
@@ -60,7 +60,7 @@ pytest-operator = "^0.28.0"
6060
pytest-operator-cache = {git = "https://github.com/canonical/data-platform-workflows", tag = "v16.3.3", subdirectory = "python/pytest_plugins/pytest_operator_cache"}
6161
pytest-operator-groups = {git = "https://github.com/canonical/data-platform-workflows", tag = "v16.3.3", subdirectory = "python/pytest_plugins/pytest_operator_groups"}
6262
juju = "^3.2.2"
63-
ops = "^2.5.0"
63+
ops = "^2.15.0"
6464
mysql-connector-python = "~8.0.33"
6565
tenacity = "^8.2.2"
6666
boto3 = "^1.28.22"

tests/integration/high_availability/test_node_drain.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
@pytest.mark.group(1)
3131
@pytest.mark.skip_if_deployed
32+
@pytest.mark.abort_on_fail
3233
async def test_build_and_deploy(ops_test: OpsTest) -> None:
3334
"""Simple test to ensure that the mysql and application charms get deployed."""
3435
await high_availability_test_setup(ops_test)

0 commit comments

Comments
 (0)