diff options
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/end2end/end2end_test.cc | 4 | ||||
-rw-r--r-- | test/cpp/end2end/sync_client_async_server_test.cc | 5 | ||||
-rw-r--r-- | test/cpp/interop/client.cc | 1 | ||||
-rw-r--r-- | test/cpp/qps/client.cc | 3 | ||||
-rw-r--r-- | test/cpp/util/status_test.cc | 1 | ||||
-rw-r--r-- | test/cpp/util/time_test.cc | 1 |
6 files changed, 3 insertions, 12 deletions
diff --git a/test/cpp/end2end/end2end_test.cc b/test/cpp/end2end/end2end_test.cc index 16be518a3f..e01a6efe82 100644 --- a/test/cpp/end2end/end2end_test.cc +++ b/test/cpp/end2end/end2end_test.cc @@ -151,9 +151,7 @@ class End2endTest : public ::testing::Test { server_ = builder.BuildAndStart(); } - void TearDown() override { - server_->Shutdown(); - } + void TearDown() override { server_->Shutdown(); } void ResetStub() { std::shared_ptr<ChannelInterface> channel = diff --git a/test/cpp/end2end/sync_client_async_server_test.cc b/test/cpp/end2end/sync_client_async_server_test.cc index 54e7648cb6..9955eb306f 100644 --- a/test/cpp/end2end/sync_client_async_server_test.cc +++ b/test/cpp/end2end/sync_client_async_server_test.cc @@ -31,7 +31,6 @@ * */ - #include <chrono> #include <memory> #include <sstream> @@ -97,9 +96,7 @@ class End2endTest : public ::testing::Test { EXPECT_TRUE(gpr_thd_new(&id, ServerLoop, server_.get(), NULL)); } - void TearDown() override { - server_->Shutdown(); - } + void TearDown() override { server_->Shutdown(); } std::unique_ptr<AsyncTestServer> server_; InternalStub stub_; diff --git a/test/cpp/interop/client.cc b/test/cpp/interop/client.cc index 36bc580a96..04cfeb86cb 100644 --- a/test/cpp/interop/client.cc +++ b/test/cpp/interop/client.cc @@ -31,7 +31,6 @@ * */ - #include <chrono> #include <memory> #include <string> diff --git a/test/cpp/qps/client.cc b/test/cpp/qps/client.cc index 71c3385035..450373ecf8 100644 --- a/test/cpp/qps/client.cc +++ b/test/cpp/qps/client.cc @@ -31,7 +31,6 @@ * */ - #include <cassert> #include <memory> #include <string> @@ -166,7 +165,7 @@ void RunTest(const int client_threads, const int client_channels, gpr_histogram *hist = gpr_histogram_create(0.01, 60e9); GPR_ASSERT(hist != NULL); - for (auto& t : threads) { + for (auto &t : threads) { t.join(); } for (int i = 0; i < client_threads; i++) { diff --git a/test/cpp/util/status_test.cc b/test/cpp/util/status_test.cc index 1f371671db..0c32311bad 100644 --- a/test/cpp/util/status_test.cc +++ b/test/cpp/util/status_test.cc @@ -31,7 +31,6 @@ * */ - #include <grpc++/status.h> #include <grpc/status.h> #include <grpc/support/log.h> diff --git a/test/cpp/util/time_test.cc b/test/cpp/util/time_test.cc index c571808633..f5942aa85a 100644 --- a/test/cpp/util/time_test.cc +++ b/test/cpp/util/time_test.cc @@ -31,7 +31,6 @@ * */ - #include "src/cpp/util/time.h" #include <chrono> |