From e115be3e2cf2ac5d776b76197f8a7da48d7d0b18 Mon Sep 17 00:00:00 2001 From: Fabrice Normandin Date: Fri, 11 Oct 2024 14:32:43 -0400 Subject: [PATCH] Add xfail for flaky integration test Signed-off-by: Fabrice Normandin --- tests/integration/test_sync_command.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/integration/test_sync_command.py b/tests/integration/test_sync_command.py index 31f19b4a..a6a90df6 100644 --- a/tests/integration/test_sync_command.py +++ b/tests/integration/test_sync_command.py @@ -19,6 +19,7 @@ _install_vscode_extensions_task_function, sync_vscode_extensions, ) +from tests.integration.conftest import SLURM_CLUSTER from ..cli.common import ( requires_ssh_to_localhost, @@ -28,6 +29,10 @@ logger = get_logger(__name__) +@pytest.mark.xfail( + SLURM_CLUSTER == "mila", + reason="`code-server` are being killed on the login nodes of the Mila cluster.", +) @pytest.mark.slow @pytest.mark.parametrize( "source",