diff options
author | Mark D. Roth <roth@google.com> | 2016-11-03 13:20:12 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-11-03 13:20:12 -0700 |
commit | 2b8de5cecf4f645ee2e6dedcf80458a1b323705d (patch) | |
tree | 8082721c46789f9eb8817e3c27c838ecf77c2046 /test/core/end2end/tests | |
parent | d3f25b3dfe25b7b4a39d6f148b616e9be6ba1347 (diff) |
Don't run cancel_after_accept test for fd and socketpair fixtures.
Diffstat (limited to 'test/core/end2end/tests')
-rw-r--r-- | test/core/end2end/tests/cancel_after_accept.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/end2end/tests/cancel_after_accept.c b/test/core/end2end/tests/cancel_after_accept.c index 104d8fd54f..768416a108 100644 --- a/test/core/end2end/tests/cancel_after_accept.c +++ b/test/core/end2end/tests/cancel_after_accept.c @@ -261,7 +261,8 @@ void cancel_after_accept(grpc_end2end_test_config config) { for (i = 0; i < GPR_ARRAY_SIZE(cancellation_modes); i++) { test_cancel_after_accept(config, cancellation_modes[i], false /* use_service_config */); - if (cancellation_modes[i].expect_status == GRPC_STATUS_DEADLINE_EXCEEDED) { + if (config.feature_mask & FEATURE_MASK_SUPPORTS_CLIENT_CHANNEL && + cancellation_modes[i].expect_status == GRPC_STATUS_DEADLINE_EXCEEDED) { test_cancel_after_accept(config, cancellation_modes[i], true /* use_service_config */); } |