Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: increase the retry interval time & delay http request in test cases #263

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading