Merge pull request #24159 from ashithasantosh/eval_flaky

Use TestEnvironment to fix flaky test.
pull/24174/head
Ashitha Santhosh 4 years ago committed by GitHub
commit 2cfb1bf2cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      test/core/security/evaluate_args_test.cc

@ -21,6 +21,7 @@
#include "src/core/lib/security/authorization/evaluate_args.h" #include "src/core/lib/security/authorization/evaluate_args.h"
#include "test/core/util/eval_args_mock_endpoint.h" #include "test/core/util/eval_args_mock_endpoint.h"
#include "test/core/util/test_config.h"
namespace grpc_core { namespace grpc_core {
@ -218,6 +219,7 @@ TEST(EvaluateArgsAuthContextTest, GetCertServerNameFailDuplicateProperty) {
} // namespace grpc_core } // namespace grpc_core
int main(int argc, char** argv) { int main(int argc, char** argv) {
grpc::testing::TestEnvironment env(argc, argv);
::testing::InitGoogleTest(&argc, argv); ::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS(); return RUN_ALL_TESTS();
} }

Loading…
Cancel
Save