Skip to content

Commit 767caf0

Browse files
author
Andrei Neagu
committed
Merge remote-tracking branch 'upstream/master' into pr-osparc-migrate-dy-scheduler-part2
2 parents a76828c + 8003f66 commit 767caf0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/performance/locustfiles/functions/function_map_load_test.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
)
2424

2525
_MAX_NJOBS: Final[int] = 50
26+
_REQUEST_TIMEOUT: Final[int] = 10 * 60 # 10 minutes request timeout for map endpoint
2627

2728

2829
# Register the custom argument with Locust's parser
@@ -55,6 +56,9 @@ def _(parser: LocustArgumentParser) -> None:
5556

5657

5758
class WebApiUser(OsparcWebUserBase):
59+
network_timeout = _REQUEST_TIMEOUT
60+
connection_timeout = _REQUEST_TIMEOUT
61+
5862
@task
5963
def map_function(self) -> None:
6064

0 commit comments

Comments
 (0)