Skip to content

Commit 90c82f3

Browse files
committed
Attach in one go
1 parent d6dcaa6 commit 90c82f3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/integration/ha_tests/test_smoke.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,8 @@ async def test_app_resources_conflicts_v3(ops_test: OpsTest, charm: str):
160160
DUP_DATABASE_APP_NAME,
161161
"--model={ops_test.model.info.name}",
162162
"--config profile=testing",
163+
f"--attach-storage={','.join(garbage_storages)}",
163164
]
164-
for garbage_storage in garbage_storages:
165-
deploy_cmd.append(f"--attach-storage={garbage_storage}")
166165
return_code, _, _ = await ops_test.juju(*deploy_cmd)
167166
assert return_code == 0, "Failed to add unit with storage"
168167

0 commit comments

Comments
 (0)