Fix conflict

reviewable/pr16646/r2
Vijay Pai 7 years ago
parent a1e87be377
commit 47ae48e20c
  1. 14
      test/cpp/end2end/client_callback_end2end_test.cc

@ -65,7 +65,6 @@ class ClientCallbackEnd2endTest : public ::testing::Test {
} }
} }
<<<<<<< HEAD
void SendRpcs(int num_rpcs) { void SendRpcs(int num_rpcs) {
grpc::string test_string(""); grpc::string test_string("");
for (int i = 0; i < num_rpcs; i++) { for (int i = 0; i < num_rpcs; i++) {
@ -96,10 +95,7 @@ class ClientCallbackEnd2endTest : public ::testing::Test {
} }
} }
void SendRpcsGeneric(int num_rpcs) { void SendRpcsGeneric(int num_rpcs, bool maybe_except) {
=======
void SendRpcs(int num_rpcs, bool maybe_except) {
>>>>>>> master
const grpc::string kMethodName("/grpc.testing.EchoTestService/Echo"); const grpc::string kMethodName("/grpc.testing.EchoTestService/Echo");
grpc::string test_string(""); grpc::string test_string("");
for (int i = 0; i < num_rpcs; i++) { for (int i = 0; i < num_rpcs; i++) {
@ -149,23 +145,23 @@ class ClientCallbackEnd2endTest : public ::testing::Test {
TEST_F(ClientCallbackEnd2endTest, SimpleRpc) { TEST_F(ClientCallbackEnd2endTest, SimpleRpc) {
ResetStub(); ResetStub();
SendRpcs(1, false); SendRpcs(1);
} }
TEST_F(ClientCallbackEnd2endTest, SequentialRpcs) { TEST_F(ClientCallbackEnd2endTest, SequentialRpcs) {
ResetStub(); ResetStub();
SendRpcs(10, false); SendRpcs(10);
} }
TEST_F(ClientCallbackEnd2endTest, SequentialGenericRpcs) { TEST_F(ClientCallbackEnd2endTest, SequentialGenericRpcs) {
ResetStub(); ResetStub();
SendRpcsGeneric(10); SendRpcsGeneric(10, false);
} }
#if GRPC_ALLOW_EXCEPTIONS #if GRPC_ALLOW_EXCEPTIONS
TEST_F(ClientCallbackEnd2endTest, ExceptingRpc) { TEST_F(ClientCallbackEnd2endTest, ExceptingRpc) {
ResetStub(); ResetStub();
SendRpcs(10, true); SendRpcsGeneric(10, true);
} }
#endif #endif

Loading…
Cancel
Save