diff options
author | Craig Tiller <ctiller@google.com> | 2017-05-19 15:37:45 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-05-19 15:37:45 -0700 |
commit | 840931eec9bfd95c2d69f6b1e60413d18dd8281e (patch) | |
tree | e72a773271b5561b5339769e91c0f97f02e7aaea /test | |
parent | a753371f05dd116df3f27a18eb6e08e1ed0c1b4f (diff) |
More import fixes
Diffstat (limited to 'test')
-rw-r--r-- | test/cpp/end2end/BUILD | 1 | ||||
-rw-r--r-- | test/cpp/interop/BUILD | 14 | ||||
-rw-r--r-- | test/cpp/qps/BUILD | 3 | ||||
-rw-r--r-- | test/cpp/qps/client_sync.cc | 2 |
4 files changed, 13 insertions, 7 deletions
diff --git a/test/cpp/end2end/BUILD b/test/cpp/end2end/BUILD index 9b691a83e0..1f7a4870d4 100644 --- a/test/cpp/end2end/BUILD +++ b/test/cpp/end2end/BUILD @@ -35,6 +35,7 @@ package(default_visibility=["//visibility:public"]) # Allows external users to i grpc_cc_library( name = "test_service_impl", + testonly = True, srcs = ["test_service_impl.cc"], hdrs = ["test_service_impl.h"], deps = [ diff --git a/test/cpp/interop/BUILD b/test/cpp/interop/BUILD index 04c3489adc..8892da32be 100644 --- a/test/cpp/interop/BUILD +++ b/test/cpp/interop/BUILD @@ -86,13 +86,21 @@ grpc_cc_library( ], ) -grpc_cc_binary( - name = "interop_client", +grpc_cc_library( + name = "interop_client_main", language = "c++", srcs = [ "client.cc", ], deps = [ - ":client_helper_lib", + ":client_helper_lib" + ], +) + +grpc_cc_binary( + name = "interop_client", + language = "c++", + deps = [ + ":interop_client_main", ], ) diff --git a/test/cpp/qps/BUILD b/test/cpp/qps/BUILD index c6a1fd2fce..1f33dc55ff 100644 --- a/test/cpp/qps/BUILD +++ b/test/cpp/qps/BUILD @@ -67,9 +67,6 @@ grpc_cc_library( "//test/core/util:grpc_test_util", "//test/cpp/util:test_util", ], - external_deps = [ - "gtest", - ], ) grpc_cc_library( diff --git a/test/cpp/qps/client_sync.cc b/test/cpp/qps/client_sync.cc index f35713280a..0aae82604d 100644 --- a/test/cpp/qps/client_sync.cc +++ b/test/cpp/qps/client_sync.cc @@ -155,7 +155,7 @@ class SynchronousStreamingClient : public SynchronousClient { if (*stream) { // forcibly cancel the streams, then finish context_[i].TryCancel(); - (*stream)->Finish(); + (*stream)->Finish().IgnoreError(); // don't log any error message on !ok since this was canceled } }); |