Skip to content
Snippets Groups Projects
Commit 2bc3ac30 authored by Sree Kuchibhotla's avatar Sree Kuchibhotla
Browse files

Merge branch 'stress_tests_new' of github.com:sreecha/grpc into stress_tests_new

parents fbc376f9 728a6104
No related branches found
No related tags found
No related merge requests found
...@@ -141,7 +141,6 @@ bool ParseTestCasesString(const string& test_cases, ...@@ -141,7 +141,6 @@ bool ParseTestCasesString(const string& test_cases,
string test_name = it->substr(0, colon_pos); string test_name = it->substr(0, colon_pos);
int weight = std::stoi(it->substr(colon_pos + 1)); int weight = std::stoi(it->substr(colon_pos + 1));
TestCaseType test_case = GetTestTypeFromName(test_name); TestCaseType test_case = GetTestTypeFromName(test_name);
if (test_case == UNKNOWN_TEST) { if (test_case == UNKNOWN_TEST) {
gpr_log(GPR_ERROR, "Unknown test case: %s", test_name.c_str()); gpr_log(GPR_ERROR, "Unknown test case: %s", test_name.c_str());
is_success = false; is_success = false;
...@@ -203,6 +202,7 @@ int main(int argc, char** argv) { ...@@ -203,6 +202,7 @@ int main(int argc, char** argv) {
WeightedRandomTestSelector test_selector(tests); WeightedRandomTestSelector test_selector(tests);
gpr_log(GPR_INFO, "Starting test(s).."); gpr_log(GPR_INFO, "Starting test(s)..");
vector<thread> test_threads; vector<thread> test_threads;
int thread_idx = 0; int thread_idx = 0;
for (auto it = server_addresses.begin(); it != server_addresses.end(); it++) { for (auto it = server_addresses.begin(); it != server_addresses.end(); it++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment