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 7a4a8e5 commit bff48ddCopy full SHA for bff48dd
Tests/NIORedisTests/NIORedisTests.swift
@@ -6,7 +6,7 @@ final class NIORedisTests: XCTestCase {
6
let redis = NIORedis(executionModel: .spawnThreads(1))
7
defer { try? redis.terminate() }
8
9
- XCTAssertNoThrow(try redis.makeConnection().wait())
+ XCTAssertNoThrow(try redis.makeConnection().wait().close())
10
}
11
12
func test_command() throws {
@@ -18,6 +18,7 @@ final class NIORedisTests: XCTestCase {
18
XCTAssertNotNil(result.int)
19
XCTAssertEqual(result.int, 1)
20
try connection.command("DEL", [.bulkString("key".convertedToData())]).wait()
21
+ connection.close()
22
23
24
static var allTests = [
0 commit comments