fix shutdown_test

pull/3008/head
yang-g 10 years ago
parent dbe7104305
commit d392fa04c5
  1. 4
      test/cpp/end2end/shutdown_test.cc

@ -39,7 +39,7 @@
#include "test/cpp/util/echo.grpc.pb.h" #include "test/cpp/util/echo.grpc.pb.h"
#include "src/core/support/env.h" #include "src/core/support/env.h"
#include <grpc++/channel_arguments.h> #include <grpc++/channel_arguments.h>
#include <grpc++/channel_interface.h> #include <grpc++/channel.h>
#include <grpc++/client_context.h> #include <grpc++/client_context.h>
#include <grpc++/create_channel.h> #include <grpc++/create_channel.h>
#include <grpc++/credentials.h> #include <grpc++/credentials.h>
@ -118,7 +118,7 @@ class ShutdownTest : public ::testing::Test {
} }
protected: protected:
std::shared_ptr<ChannelInterface> channel_; std::shared_ptr<Channel> channel_;
std::unique_ptr<grpc::cpp::test::util::TestService::Stub> stub_; std::unique_ptr<grpc::cpp::test::util::TestService::Stub> stub_;
std::unique_ptr<Server> server_; std::unique_ptr<Server> server_;
bool shutdown_; bool shutdown_;

Loading…
Cancel
Save