aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/end2end
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-05-15 14:43:47 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-05-15 14:43:47 -0700
commit3cdd9bbdbce1f460254b7117ebb7cff67146d5d1 (patch)
treec6187bfef6df95407d1d7a8f109ecff158c92e6a /test/cpp/end2end
parentf95f048c3e05e9d7de351534ca5c09b8edbadaaf (diff)
clang-format
Diffstat (limited to 'test/cpp/end2end')
-rw-r--r--test/cpp/end2end/crash_test.cc10
-rw-r--r--test/cpp/end2end/crash_test_server.cc1
2 files changed, 6 insertions, 5 deletions
diff --git a/test/cpp/end2end/crash_test.cc b/test/cpp/end2end/crash_test.cc
index 91370edcd4..10f4944b54 100644
--- a/test/cpp/end2end/crash_test.cc
+++ b/test/cpp/end2end/crash_test.cc
@@ -73,15 +73,17 @@ class CrashTest : public ::testing::Test {
protected:
CrashTest() {}
- std::unique_ptr<grpc::cpp::test::util::TestService::Stub> CreateServerAndStub() {
+ std::unique_ptr<grpc::cpp::test::util::TestService::Stub>
+ CreateServerAndStub() {
auto port = grpc_pick_unused_port_or_die();
auto addr = (std::ostringstream() << "localhost:" << port).str();
server_.reset(new SubProcess({
- (std::ostringstream() << g_root << "/crash_test_server").str(),
- (std::ostringstream() << "--address=" << addr).str(),
+ (std::ostringstream() << g_root << "/crash_test_server").str(),
+ (std::ostringstream() << "--address=" << addr).str(),
}));
GPR_ASSERT(server_);
- return grpc::cpp::test::util::TestService::NewStub(CreateChannel(addr, InsecureCredentials(), ChannelArguments()));
+ return grpc::cpp::test::util::TestService::NewStub(
+ CreateChannel(addr, InsecureCredentials(), ChannelArguments()));
}
void KillServer() {
diff --git a/test/cpp/end2end/crash_test_server.cc b/test/cpp/end2end/crash_test_server.cc
index b6b30a5204..1f8f533199 100644
--- a/test/cpp/end2end/crash_test_server.cc
+++ b/test/cpp/end2end/crash_test_server.cc
@@ -83,7 +83,6 @@ void RunServer() {
std::cout << "Server listening on " << FLAGS_address << std::endl;
server->Wait();
}
-
}
}