Skip to content

Commit 320009b

Browse files
authored
SNOW-2292908: Skip flaky modin hybrid tests on Windows (#3698)
1 parent 42d1085 commit 320009b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tests/integ/modin/hybrid/conftest.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@
77
import modin.pandas as pd
88
from modin.config import context as config_context
99

10+
from tests.utils import IS_WINDOWS
11+
12+
13+
if IS_WINDOWS:
14+
# Ray startup is extremely flaky on Windows when multiple pytest workers are used.
15+
# https://snowflakecomputing.atlassian.net/browse/SNOW-2292908
16+
# https://github.com/modin-project/modin/issues/7387
17+
@pytest.fixture(scope="module")
18+
def skip_if_windows():
19+
pytest.skip(
20+
reason="skipping tests requiring Ray on Windows", allow_module_level=True
21+
)
22+
1023

1124
@pytest.fixture(autouse=True, scope="function")
1225
def enable_autoswitch():

0 commit comments

Comments
 (0)