Skip to content

Commit 0c8b4b5

Browse files
committed
Set extra user roles config for the test app
1 parent dc254cd commit 0c8b4b5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/integration/new_relations/test_new_relations_1.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ async def test_deploy_charms(ops_test: OpsTest, charm):
5858
application_name=APPLICATION_APP_NAME,
5959
num_units=2,
6060
base=CHARM_BASE,
61-
channel="edge",
61+
channel="latest/edge",
62+
config={"extra_user_roles": "CREATEDB,CREATEROLE"},
6263
),
6364
ops_test.model.deploy(
6465
charm,

tests/integration/new_relations/test_relations_coherence.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ async def test_relations(ops_test: OpsTest, charm):
4040
await ops_test.model.applications[DATA_INTEGRATOR_APP_NAME].set_config({
4141
"database-name": DATA_INTEGRATOR_APP_NAME.replace("-", "_"),
4242
})
43-
await ops_test.model.wait_for_idle(apps=[DATA_INTEGRATOR_APP_NAME], status="blocked")
4443
await ops_test.model.add_relation(DATA_INTEGRATOR_APP_NAME, DATABASE_APP_NAME)
4544
await ops_test.model.wait_for_idle(apps=APP_NAMES, status="active")
4645

0 commit comments

Comments
 (0)