Skip to content

Commit 696dfb9

Browse files
committed
Tiny bit of tests cleanup
1 parent 6b299ba commit 696dfb9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/SQLiteKitTests/SQLiteKitTests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,13 @@ class SQLiteKitTests: XCTestCase {
117117
threadPool: self.threadPool
118118
)
119119

120-
let a1 = try a.makeConnection(logger: .init(label: "test"), on: self.eventLoopGroup.next()).wait()
120+
let a1 = try a.makeConnection(logger: .init(label: "test"), on: self.eventLoopGroup.any()).wait()
121121
defer { try! a1.close().wait() }
122-
let a2 = try a.makeConnection(logger: .init(label: "test"), on: self.eventLoopGroup.next()).wait()
122+
let a2 = try a.makeConnection(logger: .init(label: "test"), on: self.eventLoopGroup.any()).wait()
123123
defer { try! a2.close().wait() }
124-
let b1 = try b.makeConnection(logger: .init(label: "test"), on: self.eventLoopGroup.next()).wait()
124+
let b1 = try b.makeConnection(logger: .init(label: "test"), on: self.eventLoopGroup.any()).wait()
125125
defer { try! b1.close().wait() }
126-
let b2 = try b.makeConnection(logger: .init(label: "test"), on: self.eventLoopGroup.next()).wait()
126+
let b2 = try b.makeConnection(logger: .init(label: "test"), on: self.eventLoopGroup.any()).wait()
127127
defer { try! b2.close().wait() }
128128

129129
_ = try a1.query("CREATE TABLE foo (bar INTEGER)").wait()
@@ -169,7 +169,7 @@ class SQLiteKitTests: XCTestCase {
169169
self.connection = try! SQLiteConnectionSource(
170170
configuration: .init(storage: .memory, enableForeignKeys: true),
171171
threadPool: self.threadPool
172-
).makeConnection(logger: .init(label: "test"), on: self.eventLoopGroup.next()).wait()
172+
).makeConnection(logger: .init(label: "test"), on: self.eventLoopGroup.any()).wait()
173173
}
174174

175175
override func tearDown() {

0 commit comments

Comments
 (0)