We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 235b223 commit e20c28dCopy full SHA for e20c28d
Tests/AsyncHTTPClientTests/HTTP2ClientTests.swift
@@ -208,6 +208,8 @@ class HTTP2ClientTests: XCTestCase {
208
defer { XCTAssertNoThrow(try bin.shutdown()) }
209
let clientGroup = MultiThreadedEventLoopGroup(numberOfThreads: 1)
210
defer { XCTAssertNoThrow(try clientGroup.syncShutdownGracefully()) }
211
+ // we need an active connection to guarantee that requests are executed immediately
212
+ // without waiting for connection establishment
213
let client = self.makeClientWithActiveHTTP2Connection(to: bin, eventLoopGroupProvider: .shared(clientGroup))
214
215
// start 20 requests which are guaranteed to never get any response
0 commit comments