diff --git a/src/main/java/redis/embedded/RedisExecProvider.java b/src/main/java/redis/embedded/RedisExecProvider.java index 65d1e7ff..581e40a1 100644 --- a/src/main/java/redis/embedded/RedisExecProvider.java +++ b/src/main/java/redis/embedded/RedisExecProvider.java @@ -24,14 +24,14 @@ private RedisExecProvider() { } private void initExecutables() { - executables.put(OsArchitecture.WINDOWS_x86, "redis-server.exe"); - executables.put(OsArchitecture.WINDOWS_x86_64, "redis-server-64.exe"); + executables.put(OsArchitecture.WINDOWS_x86, "redis-server-2.8.19.exe"); + executables.put(OsArchitecture.WINDOWS_x86_64, "redis-server-2.8.19.exe"); - executables.put(OsArchitecture.UNIX_x86, "redis-server"); - executables.put(OsArchitecture.UNIX_x86_64, "redis-server"); + executables.put(OsArchitecture.UNIX_x86, "redis-server-2.8.19"); + executables.put(OsArchitecture.UNIX_x86_64, "redis-server-2.8.19"); - executables.put(OsArchitecture.MAC_OS_X_x86, "redis-server.app"); - executables.put(OsArchitecture.MAC_OS_X_x86_64, "redis-server.app"); + executables.put(OsArchitecture.MAC_OS_X_x86, "redis-server-2.8.19.app"); + executables.put(OsArchitecture.MAC_OS_X_x86_64, "redis-server-2.8.19.app"); } public RedisExecProvider override(OS os, String executable) { diff --git a/src/main/resources/redis-server b/src/main/resources/redis-server-2.8.19 similarity index 100% rename from src/main/resources/redis-server rename to src/main/resources/redis-server-2.8.19 diff --git a/src/main/resources/redis-server.app b/src/main/resources/redis-server-2.8.19.app similarity index 100% rename from src/main/resources/redis-server.app rename to src/main/resources/redis-server-2.8.19.app diff --git a/src/main/resources/redis-server-2.8.19.exe b/src/main/resources/redis-server-2.8.19.exe new file mode 100644 index 00000000..2670a2de Binary files /dev/null and b/src/main/resources/redis-server-2.8.19.exe differ diff --git a/src/main/resources/redis-server-64.exe b/src/main/resources/redis-server-64.exe deleted file mode 100644 index 80d8af95..00000000 Binary files a/src/main/resources/redis-server-64.exe and /dev/null differ diff --git a/src/main/resources/redis-server.exe b/src/main/resources/redis-server.exe deleted file mode 100644 index 622c51e6..00000000 Binary files a/src/main/resources/redis-server.exe and /dev/null differ diff --git a/src/test/java/redis/embedded/RedisServerTest.java b/src/test/java/redis/embedded/RedisServerTest.java index 48904bfb..2f04952e 100644 --- a/src/test/java/redis/embedded/RedisServerTest.java +++ b/src/test/java/redis/embedded/RedisServerTest.java @@ -93,10 +93,10 @@ public void shouldIndicateInactiveAfterStop() throws Exception { @Test public void shouldOverrideDefaultExecutable() throws Exception { RedisExecProvider customProvider = RedisExecProvider.defaultProvider() - .override(OS.UNIX, Resources.getResource("redis-server").getFile()) - .override(OS.WINDOWS, Architecture.x86, Resources.getResource("redis-server.exe").getFile()) - .override(OS.WINDOWS, Architecture.x86_64, Resources.getResource("redis-server-64.exe").getFile()) - .override(OS.MAC_OS_X, Resources.getResource("redis-server").getFile()); + .override(OS.UNIX, Resources.getResource("redis-server-2.8.19").getFile()) + .override(OS.WINDOWS, Architecture.x86, Resources.getResource("redis-server-2.8.19.exe").getFile()) + .override(OS.WINDOWS, Architecture.x86_64, Resources.getResource("redis-server-2.8.19.exe").getFile()) + .override(OS.MAC_OS_X, Resources.getResource("redis-server-2.8.19").getFile()); redisServer = new RedisServerBuilder() .redisExecProvider(customProvider)