From 172baf686440a951ef0f8df998ec5e045d676c8d Mon Sep 17 00:00:00 2001 From: Lucas Gameiro Date: Thu, 27 Jun 2024 15:14:04 -0300 Subject: [PATCH] Quick fix for blocked CI (#533) * fixes * update fix --- tests/integration/ha_tests/test_async_replication.py | 1 + tests/integration/ha_tests/test_self_healing.py | 1 + 2 files changed, 2 insertions(+) diff --git a/tests/integration/ha_tests/test_async_replication.py b/tests/integration/ha_tests/test_async_replication.py index 2190c45e01..965c4ddf1a 100644 --- a/tests/integration/ha_tests/test_async_replication.py +++ b/tests/integration/ha_tests/test_async_replication.py @@ -77,6 +77,7 @@ async def second_model(ops_test: OpsTest, first_model, request) -> Model: subprocess.run( ["juju", "set-model-constraints", f"arch={architecture.architecture}"], check=True ) + subprocess.run(["juju", "switch", first_model.info.name], check=True) second_model = Model() await second_model.connect(model_name=second_model_name) yield second_model diff --git a/tests/integration/ha_tests/test_self_healing.py b/tests/integration/ha_tests/test_self_healing.py index af18a61739..9feb8e1887 100644 --- a/tests/integration/ha_tests/test_self_healing.py +++ b/tests/integration/ha_tests/test_self_healing.py @@ -344,6 +344,7 @@ async def test_forceful_restart_without_data_and_transaction_logs( @pytest.mark.group(1) +@markers.amd64_only async def test_network_cut( ops_test: OpsTest, continuous_writes, primary_start_timeout, chaos_mesh ) -> None: