Skip to content

Commit 2580b1d

Browse files
authored
Speed up integration tests (#908)
Speedup is achieved by reducing the number of repetitions of randomized tests. This cuts the total time for ITs roughly in half.
1 parent 59136a7 commit 2580b1d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/mixed/test_async_cancellation.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async def _do_the_read(session_, i=1):
9999
raise
100100

101101

102-
REPETITIONS = 1000
102+
REPETITIONS = 250
103103

104104

105105
@mark_async_test
@@ -175,8 +175,8 @@ async def test_async_cancellation(
175175
assert bookmarks != new_bookmarks
176176

177177

178-
SESSION_REPETITIONS = 100
179-
READS_PER_SESSION = 20
178+
SESSION_REPETITIONS = 50
179+
READS_PER_SESSION = 15
180180

181181

182182
@mark_async_test

0 commit comments

Comments
 (0)