fixed: embedded-redis: Unable to run on macOS Sonoma
Issue
you might see below error while trying to run embedded-redis for your testing on your macOS after you upgrade to Sonoma.
java.lang.RuntimeException: Can't start redis server. Check logs for details. Redis process log:
at redis.embedded.AbstractRedisInstance.awaitRedisServerReady(AbstractRedisInstance.java:70)
at redis.embedded.AbstractRedisInstance.start(AbstractRedisInstance.java:42)
at redis.embedded.RedisServer.start(RedisServer.java:9)
Solution
use the latest one:
https://mvnrepository.com/artifact/com.github.codemonstur/embedded-redis/1.4.3
<!-- https://mvnrepository.com/artifact/com.github.codemonstur/embedded-redis -->
<dependency>
<groupId>com.github.codemonstur</groupId>
<artifactId>embedded-redis</artifactId>
<version>1.4.3</version>
<scope>test</scope>
</dependency>
Reference
Unable to run on macOS Sonoma · Issue #135 · kstyrc/embedded-redis
This worked before I upgraded to macOS Sonoma. Now I get this error message: java.lang.RuntimeException: Can’t start redis server. Check logs for details. Redis process log: at redis.embedded.Abstr...