|
|
@@ -16,6 +16,7 @@
|
|
|
import GRPCCore
|
|
|
import XCTest
|
|
|
|
|
|
+@available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
extension ClientRPCExecutorTests {
|
|
|
func testHedgingWhenAllAttemptsResultInNonFatalCodes() async throws {
|
|
|
let harness = ClientRPCExecutorTestHarness(
|
|
|
@@ -185,6 +186,7 @@ extension ClientRPCExecutorTests {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+@available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
extension ClientRPCExecutionConfiguration {
|
|
|
fileprivate static func hedge(
|
|
|
maximumAttempts: Int = 5,
|