You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see the problem in the regex here: AbstractRedisContainer.java#L21.*Ready to accept connections.*\\n requires 1 or more characters between the work connections and the \n character.
Suggested Solution:
Allow users to configure the readiness check
Change the regex to .*Ready to accept connections(.*)?\\n
Combination of both?
Let me know what you prefer and I can contribute a fix.
The text was updated successfully, but these errors were encountered:
ranma2913
changed the title
AbstractRedisContainer waitingFor(Wait.forLogMessage(".*Ready to accept connections.*\\n", 1)); Doesn't match custom installation images
AbstractRedisContainer .*Ready to accept connections.*\\n Doesn't match custom installation images
Apr 18, 2024
To resolve the

redis:7.2-alpine
vulnerabilities I've build my own docker image for redis based onubuntu:noble
.The issue is the startup logs. On the
redis:7.2-alpine
image the startup logs are:On my custom
ubuntu:noble
image the startup logs are:You can see the problem in the regex here: AbstractRedisContainer.java#L21
.*Ready to accept connections.*\\n
requires 1 or more characters between the workconnections
and the\n
character.Suggested Solution:
.*Ready to accept connections(.*)?\\n
Let me know what you prefer and I can contribute a fix.
The text was updated successfully, but these errors were encountered: