Skip to content

Commit 6dc2a91

Browse files
chore: extend the timeout for loky progress init (#1124)
* init * instead increase the timeout
1 parent 26e3ed4 commit 6dc2a91

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/utils/test_parallelize.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,20 +68,20 @@ def func(request) -> Callable:
6868

6969

7070
@pytest.mark.flaky(max_runs=5)
71-
@pytest.mark.timeout(2)
71+
@pytest.mark.timeout(5)
7272
@pytest.mark.parametrize(
7373
"backend",
7474
[
7575
pytest.param(
7676
"threading",
7777
marks=pytest.mark.skipif(
78-
os.environ.get("CI") == "true", reason="Only testing 'loky' backend in CI environment"
78+
os.environ.get("CI") == "true", reason="Not testing 'threading' backend in CI environment"
7979
),
8080
),
8181
pytest.param(
8282
"multiprocessing",
8383
marks=pytest.mark.skipif(
84-
os.environ.get("CI") == "true", reason="Only testing 'loky' backend in CI environment"
84+
os.environ.get("CI") == "true", reason="Not testing 'multiprocessing' backend in CI environment"
8585
),
8686
),
8787
"loky",

0 commit comments

Comments
 (0)