Skip to content

Commit

Permalink
Specify series for ubuntu-pro charm as well in subordinate charm test
Browse files Browse the repository at this point in the history
  • Loading branch information
shayancanonical committed Aug 23, 2024
1 parent 653b88c commit 07fb5df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/test_subordinate_charms.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ async def test_ubuntu_pro(ops_test, mysql_router_charm_series, github_secrets):
application_name=MYSQL_ROUTER_APP_NAME,
# deploy mysqlrouter with num_units=None since it's a subordinate charm
num_units=None,
series=mysql_router_charm_series,
),
ops_test.model.deploy(
APPLICATION_APP_NAME,
Expand All @@ -46,6 +47,7 @@ async def test_ubuntu_pro(ops_test, mysql_router_charm_series, github_secrets):
application_name=UBUNTU_PRO_APP_NAME,
channel="latest/edge",
config={"token": github_secrets["UBUNTU_PRO_TOKEN"]},
series=mysql_router_charm_series,
),
)
await ops_test.model.relate(f"{MYSQL_APP_NAME}", f"{MYSQL_ROUTER_APP_NAME}")
Expand Down

0 comments on commit 07fb5df

Please sign in to comment.