diff --git a/src/main/java/redis/embedded/RedisExecProvider.java b/src/main/java/redis/embedded/RedisExecProvider.java index 581e40a1..a2cbf79d 100644 --- a/src/main/java/redis/embedded/RedisExecProvider.java +++ b/src/main/java/redis/embedded/RedisExecProvider.java @@ -27,7 +27,7 @@ private void initExecutables() { 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-2.8.19"); + executables.put(OsArchitecture.UNIX_x86, "redis-server-2.8.19-32"); executables.put(OsArchitecture.UNIX_x86_64, "redis-server-2.8.19"); executables.put(OsArchitecture.MAC_OS_X_x86, "redis-server-2.8.19.app"); diff --git a/src/main/resources/redis-server-2.8.19-32 b/src/main/resources/redis-server-2.8.19-32 new file mode 100755 index 00000000..6fd698c2 Binary files /dev/null and b/src/main/resources/redis-server-2.8.19-32 differ diff --git a/src/test/java/redis/embedded/RedisServerTest.java b/src/test/java/redis/embedded/RedisServerTest.java index 2f04952e..e85cfaff 100644 --- a/src/test/java/redis/embedded/RedisServerTest.java +++ b/src/test/java/redis/embedded/RedisServerTest.java @@ -93,7 +93,8 @@ public void shouldIndicateInactiveAfterStop() throws Exception { @Test public void shouldOverrideDefaultExecutable() throws Exception { RedisExecProvider customProvider = RedisExecProvider.defaultProvider() - .override(OS.UNIX, Resources.getResource("redis-server-2.8.19").getFile()) + .override(OS.UNIX, Architecture.x86, Resources.getResource("redis-server-2.8.19-32").getFile()) + .override(OS.UNIX, Architecture.x86_64, 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());