fix of GRPCClientTests testTimeoutBackoff2 test failure #29 (#27742)

pull/27759/head
Hannah Shi 3 years ago committed by GitHub
parent 66d4e0ccb1
commit 7e5f175bf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/objective-c/tests/UnitTests/GRPCClientTests.m

@ -563,7 +563,7 @@ static GRPCProtoMethod *kFullDuplexCallMethod;
- (void)testTimeoutBackoffWithTimeout:(double)timeout Backoff:(double)backoff {
const double maxConnectTime = timeout > backoff ? timeout : backoff;
const double kMargin = 0.1;
const double kMargin = 0.2;
__weak XCTestExpectation *completion = [self expectationWithDescription:@"Timeout in a second."];
NSString *const kPhonyAddress = [NSString stringWithFormat:@"8.8.8.8:1"];

Loading…
Cancel
Save