disable flaky grpc_authz test case on mac (#29934)

pull/29436/head
Jan Tattermusch 3 years ago committed by GitHub
parent 3d50a60296
commit 954f141c6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      test/core/end2end/tests/grpc_authz.cc

@ -668,7 +668,7 @@ static void test_file_watcher_recovers_from_failure(
grpc_channel_args server_args = {GPR_ARRAY_SIZE(args), args}; grpc_channel_args server_args = {GPR_ARRAY_SIZE(args), args};
grpc_end2end_test_fixture f = begin_test( grpc_end2end_test_fixture f = begin_test(
config, "test_file_watcher_valid_policy_reload", nullptr, &server_args); config, "test_file_watcher_recovers_from_failure", nullptr, &server_args);
grpc_authorization_policy_provider_release(provider); grpc_authorization_policy_provider_release(provider);
test_allow_authorized_request(f); test_allow_authorized_request(f);
// Replace exisiting policy in file with an invalid policy. // Replace exisiting policy in file with an invalid policy.
@ -719,7 +719,10 @@ void grpc_authz(grpc_end2end_test_config config) {
test_file_watcher_init_deny_request_no_match_in_policy(config); test_file_watcher_init_deny_request_no_match_in_policy(config);
test_file_watcher_valid_policy_reload(config); test_file_watcher_valid_policy_reload(config);
test_file_watcher_invalid_policy_skip_reload(config); test_file_watcher_invalid_policy_skip_reload(config);
#ifndef GPR_APPLE // test case highly flaky on Mac
// TODO(jtattermusch): reenable the test once b/204329811 is fixed.
test_file_watcher_recovers_from_failure(config); test_file_watcher_recovers_from_failure(config);
#endif
} }
void grpc_authz_pre_init(void) {} void grpc_authz_pre_init(void) {}

Loading…
Cancel
Save