From 7b895bb64bfc4fde91462f0dbd75647f6ace6a11 Mon Sep 17 00:00:00 2001 From: xxxxl_sun <31622273+sunxilin@users.noreply.github.com> Date: Tue, 12 Nov 2024 16:29:06 +0800 Subject: [PATCH] fix: increase the retry interval time & delay http request in test cases (#263) Co-authored-by: Hu Yueh-Wei --- tests/common/constant.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/tests/common/constant.h b/tests/common/constant.h index 6665c1f87..39fb8f273 100644 --- a/tests/common/constant.h +++ b/tests/common/constant.h @@ -10,15 +10,16 @@ #define MULTIPLE_APP_SCENARIO_GRAPH_CONSTRUCTION_RETRY_TIMES 3 -#define CURL_CONNECT_MAX_RETRY_TIMES 10 -#define CURL_CONNECT_DELAY_IN_MS 50 +// Total Wait Time: 10 seconds (200 * 100 ms = 20 seconds) +#define CURL_CONNECT_MAX_RETRY_TIMES 200 +#define CURL_CONNECT_DELAY_IN_MS 100 #define SEQUENTIAL_CLIENT_CNT 100 #if defined(__i386__) - #define ONE_ENGINE_ONE_CLIENT_CONCURRENT_CNT 100 - #define ONE_ENGINE_ALL_CLIENT_CONCURRENT_CNT 100 +#define ONE_ENGINE_ONE_CLIENT_CONCURRENT_CNT 100 +#define ONE_ENGINE_ALL_CLIENT_CONCURRENT_CNT 100 #else - #define ONE_ENGINE_ONE_CLIENT_CONCURRENT_CNT 200 - #define ONE_ENGINE_ALL_CLIENT_CONCURRENT_CNT 700 +#define ONE_ENGINE_ONE_CLIENT_CONCURRENT_CNT 200 +#define ONE_ENGINE_ALL_CLIENT_CONCURRENT_CNT 700 #endif