mirror of
https://github.com/swift-server/RediStack.git
synced 2026-06-02 07:37:33 +00:00
Fix crash in tests: Use explicit RedisCommand instead of tuple (#52)
This commit is contained in:
@@ -80,7 +80,7 @@ open class RedisConnectionPoolIntegrationTestCase: XCTestCase {
|
||||
) throws -> RedisConnectionPool {
|
||||
let address = try SocketAddress.makeAddressResolvingHost(self.redisHostname, port: self.redisPort)
|
||||
let pool = RedisConnectionPool(
|
||||
configuration: .init(
|
||||
configuration: RedisConnectionPool.Configuration(
|
||||
initialServerConnectionAddresses: [address],
|
||||
maximumConnectionCount: .maximumActiveConnections(4),
|
||||
connectionFactoryConfiguration: .init(connectionPassword: self.redisPassword),
|
||||
|
||||
Reference in New Issue
Block a user