diff --git a/tests/integration/relation_tests/legacy_relations/test_charm_legacy_relations.py b/tests/integration/relation_tests/legacy_relations/test_charm_legacy_relations.py index 11e358c40..58e4a4f75 100644 --- a/tests/integration/relation_tests/legacy_relations/test_charm_legacy_relations.py +++ b/tests/integration/relation_tests/legacy_relations/test_charm_legacy_relations.py @@ -32,7 +32,7 @@ APP_NAMES = [GRAYLOG_APP_NAME, ELASTIC_APP_NAME, DATABASE_APP_NAME] -@pytest.mark.abort_on_fail +@pytest.mark.skip("Reactive charms don't work with juju 3.1.5") async def test_build_deploy_charms(ops_test: OpsTest): """Deploy both charms (application and database) to use in the tests.""" # Deploy both charms (2 units for each application to test that later they correctly @@ -63,7 +63,7 @@ async def test_build_deploy_charms(ops_test: OpsTest): apps=APP_NAMES, raise_on_error=False, status="active", timeout=2000 ) - +@pytest.mark.skip("Reactive charms don't work with juju 3.1.5") async def test_relation_data(ops_test: OpsTest) -> None: """Test the relation data is set correctly for this legacy relation.""" related_unit_name = ops_test.model.applications[DATABASE_APP_NAME].units[0].name @@ -92,7 +92,7 @@ async def test_relation_data(ops_test: OpsTest) -> None: assert version == "5.0" assert replset == DATABASE_APP_NAME - +@pytest.mark.skip("Reactive charms don't work with juju 3.1.5") async def test_mongodb_auth_disabled(ops_test: OpsTest) -> None: """Test mongodb no longer uses auth after relating to a legacy relation.""" unit = ops_test.model.applications[DATABASE_APP_NAME].units[0] @@ -101,7 +101,7 @@ async def test_mongodb_auth_disabled(ops_test: OpsTest) -> None: connection ), "MongoDB requires authentication after legacy relation" - +@pytest.mark.skip("Reactive charms don't work with juju 3.1.5") async def test_legacy_db_ops(ops_test: OpsTest) -> None: """Test graylog is able to do CRUD operations.""" try: @@ -128,7 +128,7 @@ async def test_legacy_db_ops(ops_test: OpsTest) -> None: user_info = g.user_get("focal") assert "users:tokenlist" not in user_info["permissions"], "unable to perform delete operations" - +@pytest.mark.skip("Reactive charms don't work with juju 3.1.5") async def test_add_unit_joins_without_auth(ops_test: OpsTest): """Verify scaling mongodb with legacy relations supports no auth.""" await ops_test.model.applications[DATABASE_APP_NAME].add_unit(count=1) @@ -197,7 +197,7 @@ async def test_new_relation_fails_with_legacy(ops_test: OpsTest) -> None: ), "MongoDB requires disabled authentication to support legacy relations" -@pytest.mark.unstable +@pytest.mark.skip("Reactive charms don't work with juju 3.1.5") async def test_legacy_relation_fails_with_new(ops_test: OpsTest) -> None: """Verify legacy relation joining results in blocked when new relations exist.""" database = await ops_test.build_charm(".")