diff --git a/test/e2e/test_override_job_user.py b/test/e2e/test_override_job_user.py index d352e740..dd94eea1 100644 --- a/test/e2e/test_override_job_user.py +++ b/test/e2e/test_override_job_user.py @@ -22,7 +22,6 @@ DeadlineClient, EC2InstanceWorker, ) -from flaky import flaky LOG = logging.getLogger(__name__) @@ -319,9 +318,9 @@ def test_no_user_override( assert job.task_run_status == TaskStatus.SUCCEEDED - @flaky( - max_runs=3, min_passes=1 - ) # Flaky due to varying instance types causing race conditions with user reassignment + @pytest.mark.skip( + reason="Passes consistently on local but fails in Github. Will re-enable after investigation" + ) def test_config_file_user_override( self, deadline_resources, @@ -385,9 +384,9 @@ def check_worker_service_stopped() -> None: cmd_result.exit_code == 0 ), f"Resetting the job user override via CLI failed: {cmd_result}" - @flaky( - max_runs=3, min_passes=1 - ) # Flaky due to varying instance types causing race conditions with user reassignment + @pytest.mark.skip( + reason="Passes consistently on local but fails in Github. Will re-enable after investigation" + ) def test_env_var_user_override( self, deadline_resources,