Disable testKeepaliveWithV2API test case for objc interop test (#32350)

This test has a race and is flaky, see
[b/268379869](https://b.corp.google.com/issues/268379869). It sends an
RPC to the interop server with 0s `keepaliveTimeout` and expects the
keepalive watchdog timer to fire immediately before the server acks the
ping.

<!--

If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.

If your pull request is for a specific language, please add the
appropriate
lang label.

-->
pull/32341/head
Yijie Ma 2 years ago committed by GitHub
parent 625b3f8385
commit 82f7405595
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      src/objective-c/tests/InteropTests/InteropTests.m

@ -1599,14 +1599,12 @@ static dispatch_once_t initGlobalInterceptorFactory;
});
}
// TODO(b/268379869): This test has a race and is flaky in any configurations. One possible way to
// deflake this test is to find a way to disable ping ack on the interop server for this test case.
- (void)testKeepaliveWithV2API {
GRPCTestRunWithFlakeRepeats(self, ^(GRPCTestWaiter waiterBlock, GRPCTestAssert assertBlock) {
// The test is highly flaky when ran as part of InteropTestsRemote
// TODO(jtattermusch): fix and re-enable the test.
if ([[self class] isRemoteTest]) {
return;
}
return;
GRPCTestRunWithFlakeRepeats(self, ^(GRPCTestWaiter waiterBlock, GRPCTestAssert assertBlock) {
RMTTestService *service = [RMTTestService serviceWithHost:[[self class] host]];
if ([[self class] transport] == gGRPCCoreCronetID) {
// Cronet does not support keepalive

Loading…
Cancel
Save