diff --git a/tests/integration/tests/test_util/registry.py b/tests/integration/tests/test_util/registry.py index d795d9095..a4599f979 100644 --- a/tests/integration/tests/test_util/registry.py +++ b/tests/integration/tests/test_util/registry.py @@ -81,7 +81,11 @@ def __init__(self, h: Harness): self.add_mirrors() - setup_k8s_snap(self.instance, Path("/")) + # Setup the k8s snap on the instance. + # Use the latest/edge/classic channel as this version is only used to collect logs. + # This would fail if the `TEST_SNAP` environment variable is not set which however has + # valid use cases, e.g. in the promotion scenarios. + setup_k8s_snap(self.instance, Path("/"), "latest/edge/classic") def get_configured_mirrors(self) -> List[Mirror]: mirrors: List[Mirror] = []