Skip to content

Commit 6514faa

Browse files
Workaround juju 21047 (#1154)
* Mark tests as unstable Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com> * Change application name Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com> * Fix redis-k8s channel Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com> * Fix redis-k8s base Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com> --------- Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
1 parent 4f8ed33 commit 6514faa

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

tests/integration/new_relations/test_new_relations_2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,10 +151,10 @@ async def test_indico_datatabase(ops_test: OpsTest) -> None:
151151
series="focal",
152152
)
153153
await ops_test.model.deploy(
154-
"redis-k8s", channel="stable", application_name="redis-broker", base="ubuntu@20.04"
154+
"redis-k8s", channel="edge", application_name="redis-broker", base="ubuntu@22.04"
155155
)
156156
await ops_test.model.deploy(
157-
"redis-k8s", channel="stable", application_name="redis-cache", base="ubuntu@20.04"
157+
"redis-k8s", channel="edge", application_name="redis-cache", base="ubuntu@22.04"
158158
)
159159
await asyncio.gather(
160160
ops_test.model.relate("redis-broker", "indico:redis-broker"),

tests/integration/test_backups_gcp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ async def test_restore_on_new_cluster(
7171
ops_test: OpsTest, charm, gcp_cloud_configs: tuple[dict, dict]
7272
) -> None:
7373
"""Test that is possible to restore a backup to another PostgreSQL cluster."""
74-
previous_database_app_name = f"{DATABASE_APP_NAME}-gcp"
74+
previous_database_app_name = f"old-{DATABASE_APP_NAME}-gcp"
7575
database_app_name = f"new-{DATABASE_APP_NAME}"
7676
await build_and_deploy(
7777
ops_test, charm, 1, database_app_name=previous_database_app_name, wait_for_idle=False

tests/integration/test_charm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ async def test_application_removal(ops_test: OpsTest) -> None:
404404
assert APP_NAME not in ops_test.model.applications
405405

406406

407+
@pytest.mark.skip(reason="Unstable")
407408
async def test_redeploy_charm_same_model(ops_test: OpsTest, charm):
408409
"""Redeploy the charm in the same model to test that it works."""
409410
async with ops_test.fast_forward():
@@ -425,6 +426,7 @@ async def test_redeploy_charm_same_model(ops_test: OpsTest, charm):
425426
)
426427

427428

429+
@pytest.mark.skip(reason="Unstable")
428430
async def test_redeploy_charm_same_model_after_forcing_removal(ops_test: OpsTest, charm) -> None:
429431
"""Redeploy the charm in the same model to test that it works after a forceful removal."""
430432
return_code, _, stderr = await ops_test.juju(

0 commit comments

Comments
 (0)