Skip to content

Commit e20c28d

Browse files
committed
add documentation
1 parent 235b223 commit e20c28d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: Tests/AsyncHTTPClientTests/HTTP2ClientTests.swift

+2
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,8 @@ class HTTP2ClientTests: XCTestCase {
208208
defer { XCTAssertNoThrow(try bin.shutdown()) }
209209
let clientGroup = MultiThreadedEventLoopGroup(numberOfThreads: 1)
210210
defer { XCTAssertNoThrow(try clientGroup.syncShutdownGracefully()) }
211+
// we need an active connection to guarantee that requests are executed immediately
212+
// without waiting for connection establishment
211213
let client = self.makeClientWithActiveHTTP2Connection(to: bin, eventLoopGroupProvider: .shared(clientGroup))
212214

213215
// start 20 requests which are guaranteed to never get any response

0 commit comments

Comments
 (0)