Skip to content

Commit

Permalink
fix: increase the retry interval time & delay http request in test ca…
Browse files Browse the repository at this point in the history
…ses (#263)

Co-authored-by: Hu Yueh-Wei <[email protected]>
  • Loading branch information
sunxilin and halajohn authored Nov 12, 2024
1 parent 0188c96 commit 7b895bb
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tests/common/constant.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7b895bb

Please sign in to comment.