Skip to content

Commit

Permalink
[MISC] pinning ZooKeeper charm revision in HA tests
Browse files Browse the repository at this point in the history
  • Loading branch information
deusebio committed Dec 10, 2024
1 parent 7948dfb commit 12f5223
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/integration/ha/test_ha.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async def restart_delay(ops_test: OpsTest):
async def test_build_and_deploy(ops_test: OpsTest, kafka_charm, app_charm):
await asyncio.gather(
ops_test.model.deploy(kafka_charm, application_name=APP_NAME, num_units=1, series="jammy"),
ops_test.model.deploy(ZK_NAME, channel="edge", num_units=1, series="jammy"),
ops_test.model.deploy(ZK_NAME, revision=137, channel="edge", num_units=1, series="jammy"),
ops_test.model.deploy(app_charm, application_name=DUMMY_NAME, num_units=1, series="jammy"),
)
await ops_test.model.wait_for_idle(
Expand Down Expand Up @@ -127,7 +127,12 @@ async def test_multi_cluster_isolation(ops_test: OpsTest, kafka_charm):
kafka_charm, application_name=second_kafka_name, num_units=1, series="jammy"
),
ops_test.model.deploy(
ZK_NAME, channel="edge", application_name=second_zk_name, num_units=1, series="jammy"
ZK_NAME,
channel="edge",
revision=137,
application_name=second_zk_name,
num_units=1,
series="jammy",
),
)

Expand Down

0 comments on commit 12f5223

Please sign in to comment.