Skip to content

Commit 3be5bc5

Browse files
committed
tests(integration): update
1 parent c4682c2 commit 3be5bc5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/test_charm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,15 @@ async def test_virtual_service(ops_test, lightkube_client):
6666
trust=True,
6767
)
6868
await ops_test.model.add_relation(f"{ISTIO_PILOT}:{ISTIO_PILOT}", f"{ISTIO_GW}:{ISTIO_PILOT}")
69+
await ops_test.model.add_relation(ISTIO_PILOT, APP_NAME)
6970

7071
await ops_test.model.wait_for_idle(
72+
status="active",
7173
raise_on_blocked=False,
7274
raise_on_error=True,
7375
timeout=300,
7476
)
7577

76-
await ops_test.model.add_relation(ISTIO_PILOT, APP_NAME)
77-
7878
# Verify that virtualService is as expected
7979
assert_virtualservice_exists(name=APP_NAME, namespace=ops_test.model.name)
8080

0 commit comments

Comments
 (0)