-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests(all): disable
mysql-router
in integration tests
`mysql-router` does not yet support noble as a base so disable it in the integration tests and directly relate to the `mysql` operator. Created a generic TODO comment so it can be found in TODO tools such as PyCharm's editor. Signed-off-by: Jason C. Nucciarone <[email protected]>
- Loading branch information
1 parent
7c06d0c
commit 40cee4d
Showing
2 changed files
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,13 +79,16 @@ async def test_build_and_deploy_against_edge( | |
num_units=1, | ||
base=charm_base, | ||
), | ||
ops_test.model.deploy( | ||
ROUTER, | ||
application_name=f"{SLURMDBD}-{ROUTER}", | ||
channel="dpe/edge", | ||
num_units=0, | ||
base=charm_base, | ||
), | ||
# TODO: | ||
# Re-enable `mysql-router` in the integration tests once `dpe/edge` | ||
# channel supports the `[email protected]` base. | ||
# ops_test.model.deploy( | ||
# ROUTER, | ||
# application_name=f"{SLURMDBD}-{ROUTER}", | ||
# channel="dpe/edge", | ||
# num_units=0, | ||
# base=charm_base, | ||
# ), | ||
ops_test.model.deploy( | ||
DATABASE, | ||
application_name=DATABASE, | ||
|
@@ -98,8 +101,8 @@ async def test_build_and_deploy_against_edge( | |
await ops_test.model.integrate(f"{SLURMCTLD}:{SLURMD}", f"{SLURMD}:{SLURMCTLD}") | ||
await ops_test.model.integrate(f"{SLURMCTLD}:{SLURMDBD}", f"{SLURMDBD}:{SLURMCTLD}") | ||
await ops_test.model.integrate(f"{SLURMCTLD}:{SLURMRESTD}", f"{SLURMRESTD}:{SLURMCTLD}") | ||
await ops_test.model.integrate(f"{SLURMDBD}-{ROUTER}:backend-database", f"{DATABASE}:database") | ||
await ops_test.model.integrate(f"{SLURMDBD}:database", f"{SLURMDBD}-{ROUTER}:database") | ||
# await ops_test.model.integrate(f"{SLURMDBD}-{ROUTER}:backend-database", f"{DATABASE}:database") | ||
await ops_test.model.integrate(f"{SLURMDBD}:database", f"{DATABASE}:database") | ||
# Reduce the update status frequency to accelerate the triggering of deferred events. | ||
async with ops_test.fast_forward(): | ||
await ops_test.model.wait_for_idle(apps=SLURM_APPS, status="active", timeout=1000) | ||
|