Skip to content

Commit 2923733

Browse files
committed
ci: force 22.04 base for integration tests
1 parent 2b6ff34 commit 2923733

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

tests/base.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ async def __aenter__(self):
7979
model_name = f"test-{test_run_nonce}-{test_name}-{model_nonce}"
8080
self._model = await self._controller.add_model(model_name)
8181

82+
# Some charms used for testing are not yet available for 24.04
83+
await self._model.set_config({
84+
"default-base": "[email protected]",
85+
"default-series": "jammy",
86+
})
87+
8288
# Change the JujuData instance so that it will return the new
8389
# model as the current model name, so that we'll connect
8490
# to it by default.

0 commit comments

Comments
 (0)