Skip to content

Commit 8fdb1ac

Browse files
committed
doc
1 parent 30b7261 commit 8fdb1ac

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

services/web/server/tests/unit/with_dbs/04/studies_dispatcher/test_studies_dispatcher_studies_access.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,17 @@ async def enforce_garbage_collect_guest(uid):
435435

436436

437437
@pytest.mark.flaky(max_runs=3)
438-
@pytest.mark.parametrize("number_of_simultaneous_requests", [1, 2, 16])
438+
@pytest.mark.parametrize(
439+
"number_of_simultaneous_requests",
440+
[
441+
1,
442+
2,
443+
16,
444+
# NOTE: The number of simultaneous anonymous users is limited by system load.
445+
# A GuestUsersLimitError is raised if user creation exceeds the MAX_DELAY_TO_CREATE_USER threshold.
446+
# This test is flaky due to its dependency on app runtime conditions. Avoid increasing simultaneous requests.
447+
],
448+
)
439449
async def test_guest_user_is_not_garbage_collected(
440450
number_of_simultaneous_requests: int,
441451
web_server: TestServer,

0 commit comments

Comments
 (0)