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 f1d4fd4 commit 295f994Copy full SHA for 295f994
Tests/WebPushTests/WebPushManagerTests.swift
@@ -14,6 +14,7 @@ import FoundationEssentials
14
import Foundation
15
#endif
16
import Logging
17
+import NIO
18
import ServiceLifecycle
19
import Testing
20
@testable import WebPush
@@ -48,7 +49,7 @@ struct WebPushManagerTests {
48
49
}
50
51
@Test func managerCanCreateThreadPool() async throws {
- let manager = WebPushManager(vapidConfiguration: .makeTesting(), eventLoopGroupProvider: .createNew)
52
+ let manager = WebPushManager(vapidConfiguration: .makeTesting(), eventLoopGroupProvider: .shared(MultiThreadedEventLoopGroup.singleton))
53
await withThrowingTaskGroup(of: Void.self) { group in
54
group.addTask {
55
try await manager.run()
0 commit comments