Skip to content

Commit 871c10c

Browse files
authored
Merge pull request #703 from cderici/machine-bundles-for-tests
#703 #### Description Some of the tests in the CI are failing because we’re using k8s bundles while running the tests on lxd (don’t ask why they were passing before). This change replaces them with a machine bundle. #### QA Steps ``` tox -e integration -- tests/integration/test_model.py::test_deploy_trusted_bundle ``` ``` tox -e integration -- tests/integration/test_model.py::test_deploy_bundle ``` #### Notes & Discussion
2 parents 34981c5 + b2f7c04 commit 871c10c

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)