diff --git a/python/ray/tests/test_runtime_env_working_dir_3.py b/python/ray/tests/test_runtime_env_working_dir_3.py index d71886c81ba4..09f89250f614 100644 --- a/python/ray/tests/test_runtime_env_working_dir_3.py +++ b/python/ray/tests/test_runtime_env_working_dir_3.py @@ -17,6 +17,7 @@ check_local_files_gced, wait_for_condition, find_free_port, + skip_flaky_core_test_premerge, ) # This test requires you have AWS credentials set up (any AWS credentials will @@ -252,6 +253,7 @@ def check(self): wait_for_condition(lambda: check_local_files_gced(cluster, whitelist)) print("check_local_files_gced passed wait_for_condition block.") + @skip_flaky_core_test_premerge("https://github.com/ray-project/ray/issues/40781") @pytest.mark.parametrize("option", ["working_dir", "py_modules"]) @pytest.mark.parametrize( "source", [S3_PACKAGE_URI, lazy_fixture("tmp_working_dir")]