Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make bgsave test wait for bgrewriteaof to finish

  • Loading branch information...
commit 1b679d35925b020d1ad59c4f446b871eff7cd067 1 parent d99050f
@wg authored
View
4 README
@@ -5,6 +5,8 @@ lettuce - A scalable Java Redis client
as BLPOP, and MULTI/EXEC. Multiple connections are efficiently managed by the
excellent netty NIO framework.
+ This version of lettuce has been tested against redis 2.4.2
+
Basic Usage
RedisClient client = new RedisClient("localhost")
@@ -54,5 +56,5 @@ Maven Artifacts
<dependency>
<groupId>com.lambdaworks</groupId>
<artifactId>lettuce</artifactId>
- <version>1.0.0</version>
+ <version>1.1.0</version>
</dependency>
View
3  src/test/java/com/lambdaworks/redis/ServerCommandTest.java
@@ -19,6 +19,9 @@ public void bgrewriteaof() throws Exception {
@Test
public void bgsave() throws Exception {
+ while (redis.info().contains("bgrewriteaof_in_progress:1")) {
+ Thread.sleep(100);
+ }
String msg = "Background saving started";
assertEquals(msg, redis.bgsave());
}
Please sign in to comment.
Something went wrong with that request. Please try again.