Skip to content

Commit a74208b

Browse files
Fixes to pass the CI problems regarding missing postgresql charm. (#847)
1 parent 6e9950e commit a74208b

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

tests/integration/test_charmhub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,5 @@ async def test_subordinate_charm_zero_units(event_loop):
103103
@pytest.mark.asyncio
104104
async def test_list_resources(event_loop):
105105
async with base.CleanModel() as model:
106-
resources = await model.charmhub.list_resources('postgresql')
106+
resources = await model.charmhub.list_resources('hello-kubecon')
107107
assert type(resources) == list and len(resources) > 0

tests/integration/test_model.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,10 @@ async def test_wait_local_charm_waiting_timeout(event_loop):
193193
@pytest.mark.asyncio
194194
async def test_deploy_bundle(event_loop):
195195
async with base.CleanModel() as model:
196-
await model.deploy('canonical-livepatch-onprem', channel='edge', trust=True)
196+
await model.deploy('anbox-cloud-core', channel='stable',
197+
trust=True)
197198

198-
for app in ('haproxy', 'livepatch', 'postgresql', 'ubuntu-advantage'):
199+
for app in ('ams', 'etcd', 'ams-node-controller', 'etcd-ca', 'lxd'):
199200
assert app in model.applications
200201

201202

@@ -281,10 +282,11 @@ async def test_deploy_local_charm_folder_symlink(event_loop):
281282
@base.bootstrapped
282283
@pytest.mark.asyncio
283284
async def test_deploy_trusted_bundle(event_loop):
285+
pytest.skip("skip until we have a deployable bundle available. Right now the landscape-dense fails because postgresql is broken")
284286
async with base.CleanModel() as model:
285-
await model.deploy('canonical-livepatch-onprem', channel='stable', trust=True)
287+
await model.deploy('landscape-dense', channel='stable', trust=True)
286288

287-
for app in ('haproxy', 'livepatch', 'postgresql', 'ubuntu-advantage'):
289+
for app in ('haproxy', 'landscape-server', 'postgresql', 'rabbit-mq-server'):
288290
assert app in model.applications
289291

290292
haproxy_app = model.applications['haproxy']

0 commit comments

Comments
 (0)