We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac0b9f7 commit 33566e7Copy full SHA for 33566e7
Tests/AsyncHTTPClientTests/RequestBagTests.swift
@@ -771,16 +771,13 @@ final class RequestBagTests: XCTestCase {
771
}
772
773
774
-import NIOPosix
775
-
776
extension HTTPClient.Task {
777
convenience init(
778
eventLoop: EventLoop,
779
logger: Logger
780
) {
781
- lazy var threadPool = NIOThreadPool(numberOfThreads: 1)
782
self.init(eventLoop: eventLoop, logger: logger) {
783
- threadPool
+ preconditionFailure("thread pool not needed in tests")
784
785
786
0 commit comments