Skip to content

Commit

Permalink
temp: lower deployed units for ci
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoppenheimer committed Jul 25, 2022
1 parent 2cf07cc commit 8640271
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/integration/test_charm.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ async def test_build_and_deploy(ops_test: OpsTest):
kafka_charm = await ops_test.build_charm(".")
await asyncio.gather(
ops_test.model.deploy(
"zookeeper", channel="edge", application_name="zookeeper", num_units=3
"zookeeper", channel="edge", application_name="zookeeper", num_units=1
),
ops_test.model.deploy(kafka_charm, application_name="kafka", num_units=3),
ops_test.model.deploy(kafka_charm, application_name="kafka", num_units=1),
)
await ops_test.model.wait_for_idle(apps=["kafka", "zookeeper"])
assert ops_test.model.applications["kafka"].status == "waiting"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/test_kafka_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ async def test_deploy_charms_relate_active(ops_test: OpsTest, usernames):

await asyncio.gather(
ops_test.model.deploy(
"zookeeper", channel="edge", application_name="zookeeper", num_units=3
"zookeeper", channel="edge", application_name="zookeeper", num_units=1
),
ops_test.model.deploy(zk_charm, application_name=APP_NAME, num_units=3),
ops_test.model.deploy(zk_charm, application_name=APP_NAME, num_units=1),
ops_test.model.deploy(app_charm, application_name=DUMMY_NAME_1, num_units=1),
)
await ops_test.model.wait_for_idle(apps=[APP_NAME, DUMMY_NAME_1, ZK])
Expand Down

0 comments on commit 8640271

Please sign in to comment.