| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,9 +1,10 @@ | |||
| 1 | 1 | series: xenial | |
| 2 | 2 | applications: | |
| 3 | - dummy-sink: | ||
| 4 | - charm: cs:~juju-qa/dummy-sink | ||
| 3 | + ghost: | ||
| 4 | + charm: "cs:ghost-19" | ||
| 5 | + num_units: 1 | ||
| 6 | + mysql: | ||
| 7 | + charm: "cs:trusty/mysql-57" | ||
| 5 | 8 | num_units: 1 | |
| 6 | - dummy-subordinate: | ||
| 7 | - charm: cs:~juju-qa/dummy-subordinate | ||
| 8 | 9 | relations: | |
| 9 | - - ['dummy-sink', 'dummy-subordinate'] | ||
| 10 | + - ["ghost", "mysql"] | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -53,11 +53,11 @@ async def test_deploy_local_bundle_file(event_loop): | |||
| 53 | 53 | async with base.CleanModel() as model: | |
| 54 | 54 | await model.deploy(str(mini_bundle_file_path)) | |
| 55 | 55 | ||
| 56 | - dummy_sink = model.applications.get('dummy-sink') | ||
| 57 | - dummy_subordinate = model.applications.get('dummy-subordinate') | ||
| 58 | - assert dummy_sink and dummy_subordinate | ||
| 59 | - await model.block_until(lambda: (len(dummy_sink.units) == 1 and | ||
| 60 | - len(dummy_subordinate.units) == 1), | ||
| 56 | + ghost = model.applications.get('ghost') | ||
| 57 | + mysql = model.applications.get('mysql') | ||
| 58 | + assert ghost and mysql | ||
| 59 | + await model.block_until(lambda: (len(ghost.units) == 1 and | ||
| 60 | + len(mysql.units) == 1), | ||
| 61 | 61 | timeout=60 * 4) | |
| 62 | 62 | ||
| 63 | 63 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments