diff --git a/src/test/java/io/floci/aws/services/elasticache/proxy/AbstractRedisAuthProxyReauthenticationTest.java b/src/test/java/io/floci/aws/services/elasticache/proxy/AbstractRedisAuthProxyReauthenticationTest.java index 09c431db41..e879bfb373 100644 --- a/src/test/java/io/floci/aws/services/elasticache/proxy/AbstractRedisAuthProxyReauthenticationTest.java +++ b/src/test/java/io/floci/aws/services/elasticache/proxy/AbstractRedisAuthProxyReauthenticationTest.java @@ -314,6 +314,8 @@ class AbstractRedisAuthProxyReauthenticationTest { Socket backend = backendServer.accept(); backend.setSoTimeout(2_000); assertEquals("+OK", line(client)); + // The AUTH reply is sent before the connection records its sign-in time. + assertOpen(client, backend); return backend; }