Skip to content

Commit

Permalink
Remove not failing on blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
dragomirp committed Nov 17, 2023
1 parent 7381d1a commit 7e79410
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
6 changes: 2 additions & 4 deletions tests/integration/new_relations/test_new_relations.py
Original file line number Diff line number Diff line change
Expand Up @@ -571,8 +571,8 @@ async def test_invalid_extra_user_roles(ops_test: OpsTest):
)


async def test_indico_db_blocked(ops_test: OpsTest) -> None:
"""Tests if deploying and relating to Indico charm will block due to requested extensions."""
async def test_indico_datatabase(ops_test: OpsTest) -> None:
"""Tests deploying and relating to the Indico charm."""
async with ops_test.fast_forward(fast_interval="30s"):
await ops_test.model.deploy(
"indico",
Expand All @@ -591,7 +591,6 @@ async def test_indico_db_blocked(ops_test: OpsTest) -> None:
await ops_test.model.wait_for_idle(
apps=["indico"],
status="waiting",
raise_on_blocked=False,
timeout=1000,
)

Expand All @@ -604,6 +603,5 @@ async def test_indico_db_blocked(ops_test: OpsTest) -> None:
await ops_test.model.wait_for_idle(
apps=[DATABASE_APP_NAME, "indico"],
status="active",
raise_on_blocked=False,
timeout=2000,
)
3 changes: 0 additions & 3 deletions tests/integration/test_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ async def test_extensions_blocking(ops_test: OpsTest) -> None:
await ops_test.model.wait_for_idle(
apps=[DATABASE_APP_NAME, APPLICATION_NAME, f"{APPLICATION_NAME}2"],
status="active",
raise_on_blocked=False,
timeout=1000,
)

Expand Down Expand Up @@ -141,7 +140,6 @@ async def test_extensions_blocking(ops_test: OpsTest) -> None:
await ops_test.model.wait_for_idle(
apps=[DATABASE_APP_NAME],
status="active",
raise_on_blocked=False,
timeout=1000,
)

Expand All @@ -153,7 +151,6 @@ async def test_extensions_blocking(ops_test: OpsTest) -> None:
await ops_test.model.wait_for_idle(
apps=[DATABASE_APP_NAME, APPLICATION_NAME],
status="active",
raise_on_blocked=False,
timeout=2000,
)

Expand Down

0 comments on commit 7e79410

Please sign in to comment.