Skip to content

Commit a6cc813

Browse files
author
Juan Tirado
committed
Fix test_deploy_local_bundle_dir.
1 parent df07820 commit a6cc813

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

tests/integration/test_model.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ async def test_deploy_local_bundle_dir(event_loop):
4949
async with base.CleanModel() as model:
5050
await model.deploy(str(bundle_path))
5151

52-
keystone = model.applications.get('keystone')
53-
mysql = model.applications.get('mysql-innodb')
54-
assert keystone and mysql
55-
await model.block_until(lambda: (len(keystone.units) == 1 and
56-
len(mysql.units) == 1),
52+
app1 = model.applications.get('grafana')
53+
app2 = model.applications.get('prometheus')
54+
assert app1 and app2
55+
await model.block_until(lambda: (len(app1.units) == 1 and
56+
len(app2.units) == 1),
5757
timeout=60 * 4)
5858

5959

0 commit comments

Comments
 (0)