Skip to content

Commit 49fe1e2

Browse files
GitHKAndrei Neagu
andauthored
🎨 Increase timeout of file creation to avoid flaky testes in CI (ITISFoundation#8125)
Co-authored-by: Andrei Neagu <[email protected]>
1 parent ae5f894 commit 49fe1e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/e2e-playwright/tests/jupyterlabs/test_jupyterlab.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ def test_jupyterlab(
154154
expected_message_type="stdout", expected_message_contents="copied"
155155
),
156156
timeout=_WAITING_TIME_FILE_CREATION_PER_GB_IN_TERMINAL
157-
* max(int(large_file_size.to("GiB")), 1),
157+
* max(int(large_file_size.to("GiB")), 1)
158+
* 3, # avoids flakyness since timeout is deterimned based on size
158159
):
159160
terminal.fill(
160161
f"dd if=/dev/urandom of=output.txt bs={large_file_block_size} count={blocks_count} iflag=fullblock"

0 commit comments

Comments
 (0)