Skip to content

Commit 9571b53

Browse files
Temporarily fix tests to workaround canonical/mysql-operator#654 (#264)
Unblocks #241
1 parent 4d5ca32 commit 9571b53

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

tests/integration/test_subordinate_charms.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ async def test_ubuntu_pro(ops_test, charm, series):
6262
],
6363
status="active",
6464
raise_on_blocked=True,
65+
# Temporary workaround for https://github.com/canonical/mysql-operator/issues/654
66+
raise_on_error=False,
6567
timeout=SLOW_TIMEOUT,
6668
)
6769

tests/integration/test_upgrade.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,11 @@ async def test_deploy_edge(ops_test: OpsTest, series) -> None:
7777

7878
logger.info("Waiting for applications to become active")
7979
await ops_test.model.wait_for_idle(
80-
[MYSQL_APP_NAME, MYSQL_ROUTER_APP_NAME, TEST_APP_NAME], status="active", timeout=TIMEOUT
80+
[MYSQL_APP_NAME, MYSQL_ROUTER_APP_NAME, TEST_APP_NAME],
81+
status="active",
82+
timeout=TIMEOUT,
83+
# Temporary workaround for https://github.com/canonical/mysql-operator/issues/654
84+
raise_on_error=False,
8185
)
8286

8387

0 commit comments

Comments
 (0)