Merge pull request #23977 from veblush/test-harden

Add init and shutdown to verify_peer_options
pull/23917/head^2
Esun Kim 5 years ago committed by GitHub
commit 820f906248
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/core/handshake/verify_peer_options.cc

@ -235,6 +235,7 @@ static void verify_destruct(void* userdata) { destruct_userdata = userdata; }
int main(int argc, char* argv[]) {
grpc::testing::TestEnvironment env(argc, argv);
grpc_init();
int userdata = 42;
verify_peer_options verify_options;
@ -272,6 +273,7 @@ int main(int argc, char* argv[]) {
grpc_slice_unref(cert_slice);
grpc_shutdown();
return 0;
}

Loading…
Cancel
Save