Skip to content

Commit c5ace3e

Browse files
committed
fix timeout for single process
1 parent 0786cb2 commit c5ace3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_prototype_builtin_datasets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def test_pipeline(self, test_home, dataset_mock, config, parallelism_mode):
143143
shuffle=True,
144144
num_workers=num_workers,
145145
parallelism_mode=parallelism_mode,
146-
timeout=5,
146+
timeout=5 if num_workers > 0 else 0,
147147
)
148148

149149
for _ in dl:

0 commit comments

Comments
 (0)