Use C signal handling in C++ end2end

pull/26/head
Craig Tiller 10 years ago
parent e1e2475b69
commit 14e60e9f8b
  1. 2
      test/cpp/end2end/end2end_test.cc

@ -34,6 +34,7 @@
#include <chrono> #include <chrono>
#include <thread> #include <thread>
#include "test/core/util/test_config.h"
#include "test/cpp/util/echo_duplicate.pb.h" #include "test/cpp/util/echo_duplicate.pb.h"
#include "test/cpp/util/echo.pb.h" #include "test/cpp/util/echo.pb.h"
#include "src/cpp/util/time.h" #include "src/cpp/util/time.h"
@ -435,6 +436,7 @@ TEST_F(End2endTest, BadCredentials) {
} // namespace grpc } // namespace grpc
int main(int argc, char** argv) { int main(int argc, char** argv) {
grpc_test_init(argc, argv);
grpc_init(); grpc_init();
::testing::InitGoogleTest(&argc, argv); ::testing::InitGoogleTest(&argc, argv);
int result = RUN_ALL_TESTS(); int result = RUN_ALL_TESTS();

Loading…
Cancel
Save