From 848314f83590a94f41a5a646c597294bbb15a2fd Mon Sep 17 00:00:00 2001 From: George Barnett Date: Fri, 17 Jan 2025 10:59:39 +0000 Subject: [PATCH] Fix deprecation warnings --- .../HTTP2TransportTLSEnabledTests.swift | 2 +- Tests/GRPCNIOTransportHTTP2Tests/HTTP2TransportTests.swift | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/GRPCNIOTransportHTTP2Tests/HTTP2TransportTLSEnabledTests.swift b/Tests/GRPCNIOTransportHTTP2Tests/HTTP2TransportTLSEnabledTests.swift index f41ec08..7e63b5f 100644 --- a/Tests/GRPCNIOTransportHTTP2Tests/HTTP2TransportTLSEnabledTests.swift +++ b/Tests/GRPCNIOTransportHTTP2Tests/HTTP2TransportTLSEnabledTests.swift @@ -512,7 +512,7 @@ struct HTTP2TransportTLSEnabledTests { group.addTask { do { - try await client.run() + try await client.runConnections() } catch { throw TLSEnabledTestsError.clientError(cause: error) } diff --git a/Tests/GRPCNIOTransportHTTP2Tests/HTTP2TransportTests.swift b/Tests/GRPCNIOTransportHTTP2Tests/HTTP2TransportTests.swift index 0d45776..795817d 100644 --- a/Tests/GRPCNIOTransportHTTP2Tests/HTTP2TransportTests.swift +++ b/Tests/GRPCNIOTransportHTTP2Tests/HTTP2TransportTests.swift @@ -84,7 +84,7 @@ final class HTTP2TransportTests: XCTestCase { ) group.addTask { - try await client.run() + try await client.runConnections() } do { @@ -119,7 +119,7 @@ final class HTTP2TransportTests: XCTestCase { enabledCompression: .none ) group.addTask { - try await client.run() + try await client.runConnections() } do {