Fix crash in tests: Use explicit RedisCommand instead of tuple (#52)

This commit is contained in:
Fabian Fett
2023-06-16 19:15:42 +02:00
committed by GitHub
parent a7d196e813
commit 35e0d67e84
3 changed files with 6 additions and 5 deletions
@@ -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),