diff options
author | 2020-05-28 10:21:37 +0200 | |
---|---|---|
committer | 2020-06-01 10:48:07 +0200 | |
commit | 437fa34bfb743396e0140ed8a0fe3fca69ab8e9e (patch) | |
tree | 6c6d2d4d66dbd5f60ad4f1710d625a94c2497494 /docker/core/Try-to-detect-the-race-conditions.patch | |
parent | 91b431ccac025a7397f18a3d5d60900c956cb42d (diff) |
Retry increasing Stack size
Change-Id: I61cb70a74179dea6a02e81989695325fe6331e10
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit 49532643bbcbd255e327d05d08f308ed735b0602)
Diffstat (limited to 'docker/core/Try-to-detect-the-race-conditions.patch')
-rw-r--r-- | docker/core/Try-to-detect-the-race-conditions.patch | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/docker/core/Try-to-detect-the-race-conditions.patch b/docker/core/Try-to-detect-the-race-conditions.patch index 8d0ad882d..6eed7f9f3 100644 --- a/docker/core/Try-to-detect-the-race-conditions.patch +++ b/docker/core/Try-to-detect-the-race-conditions.patch @@ -1,4 +1,4 @@ -From 29ed118b9dc63721e78c3040912c76f54054a1be Mon Sep 17 00:00:00 2001 +From b7a04b5993c232f4357a213517ed798cb15f3c25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Ollivier?= <cedric.ollivier@orange.com> Date: Thu, 30 Apr 2020 13:59:24 +0200 Subject: [PATCH] Try to detect the race conditions @@ -9,13 +9,28 @@ Content-Transfer-Encoding: 8bit Change-Id: I9b468ec1cf79e0a66abeb1fb48f5f0f067c2c198 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> --- + rally/cli/main.py | 3 ++ rally/plugins/task/runners/constant.py | 30 ++++++++++++++++++- .../task/scenarios/requests/http_requests.py | 9 ++++++ .../plugins/task/scenarios/requests/utils.py | 9 ++++++ rally/task/runner.py | 27 +++++++++++++++-- rally/task/utils.py | 15 ++++++++++ - 5 files changed, 87 insertions(+), 3 deletions(-) + 6 files changed, 90 insertions(+), 3 deletions(-) +diff --git a/rally/cli/main.py b/rally/cli/main.py +index 235a57113..bcc41cb01 100644 +--- a/rally/cli/main.py ++++ b/rally/cli/main.py +@@ -15,6 +15,9 @@ + + """CLI interface for Rally.""" + ++import threading ++threading.stack_size(1024 * 1024) ++ + import sys + + from rally.cli import cliutils diff --git a/rally/plugins/task/runners/constant.py b/rally/plugins/task/runners/constant.py index 5feb1fee1..38a01e28e 100644 --- a/rally/plugins/task/runners/constant.py |