Skip to content

Commit ff4c5da

Browse files
committed
Replace k8s bundles with machine bundles for tests
We're running the integration tests on LXD (cherry picked from commit b2f7c04)
1 parent 4d29f85 commit ff4c5da

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tests/integration/test_model.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,9 @@ async def test_wait_local_charm_waiting_timeout(event_loop):
177177
@pytest.mark.asyncio
178178
async def test_deploy_bundle(event_loop):
179179
async with base.CleanModel() as model:
180-
await model.deploy('ch:lma-light', channel='edge', trust=True)
180+
await model.deploy('canonical-livepatch-onprem', channel='edge', trust=True)
181181

182-
for app in ('alertmanager', 'grafana', 'loki', 'prometheus'):
182+
for app in ('haproxy', 'livepatch', 'postgresql', 'ubuntu-advantage'):
183183
assert app in model.applications
184184

185185

@@ -271,13 +271,13 @@ async def test_deploy_local_charm_folder_symlink(event_loop):
271271
@pytest.mark.asyncio
272272
async def test_deploy_trusted_bundle(event_loop):
273273
async with base.CleanModel() as model:
274-
await model.deploy('ch:lma-light', channel='edge', trust=True)
274+
await model.deploy('canonical-livepatch-onprem', channel='stable', trust=True)
275275

276-
for app in ('alertmanager', 'grafana', 'loki', 'prometheus'):
276+
for app in ('haproxy', 'livepatch', 'postgresql', 'ubuntu-advantage'):
277277
assert app in model.applications
278278

279-
grafana_app = model.applications['grafana']
280-
trusted = await grafana_app.get_trusted()
279+
haproxy_app = model.applications['haproxy']
280+
trusted = await haproxy_app.get_trusted()
281281
assert trusted is True
282282

283283

0 commit comments

Comments
 (0)