aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/interop/stress_interop_client.h
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2015-10-26 13:34:41 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2015-10-26 13:50:40 -0700
commitf51ea7aab9a1392f528cf8af8240b67b85da2bd6 (patch)
tree5b1bcf46b7b36a06c2d496a0a6a9129ff78b473b /test/cpp/interop/stress_interop_client.h
parente973877f5a8470de82f37a1be9ab5b3bbba0cd40 (diff)
Explicitly use grpc::string instead of std::string to be consistent with other test code
Diffstat (limited to 'test/cpp/interop/stress_interop_client.h')
-rw-r--r--test/cpp/interop/stress_interop_client.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/cpp/interop/stress_interop_client.h b/test/cpp/interop/stress_interop_client.h
index 36dfa7ed61..36261e501f 100644
--- a/test/cpp/interop/stress_interop_client.h
+++ b/test/cpp/interop/stress_interop_client.h
@@ -46,7 +46,6 @@ namespace grpc {
namespace testing {
using std::pair;
-using std::string;
using std::vector;
// TODO(sreek): Add more test cases here in future
@@ -60,7 +59,7 @@ enum TestCaseType {
EMPTY_STREAM = 5
};
-const vector<pair<TestCaseType, string>> kTestCaseList = {
+const vector<pair<TestCaseType, grpc::string>> kTestCaseList = {
{EMPTY_UNARY, "empty_unary"},
{LARGE_UNARY, "large_unary"},
{LARGE_COMPRESSED_UNARY, "large_compressed_unary"},
@@ -84,7 +83,7 @@ class WeightedRandomTestSelector {
class StressTestInteropClient {
public:
- StressTestInteropClient(int test_id, const string& server_address,
+ StressTestInteropClient(int test_id, const grpc::string& server_address,
const WeightedRandomTestSelector& test_selector,
long test_duration_secs, long sleep_duration_ms);
@@ -95,7 +94,7 @@ class StressTestInteropClient {
int test_id_;
std::unique_ptr<InteropClient> interop_client_;
- const string& server_address_;
+ const grpc::string& server_address_;
const WeightedRandomTestSelector& test_selector_;
long test_duration_secs_;
long sleep_duration_ms_;