DATAREDIS-705 - Polishing.
Change return type for mset from void to Boolean. Add missing Nullable annotations. Add Javadoc. Disable flakey tests for now. Related pull request: #279.
This commit is contained in:
@@ -480,8 +480,8 @@ public class RedisConnectionUnitTests {
|
||||
delegate.openPipeline();
|
||||
}
|
||||
|
||||
public void mSet(Map<byte[], byte[]> tuple) {
|
||||
delegate.mSet(tuple);
|
||||
public Boolean mSet(Map<byte[], byte[]> tuple) {
|
||||
return delegate.mSet(tuple);
|
||||
}
|
||||
|
||||
public byte[] lIndex(byte[] key, long index) {
|
||||
|
||||
@@ -19,6 +19,7 @@ import static org.assertj.core.api.Assertions.*;
|
||||
import static org.springframework.data.redis.connection.ClusterTestVariables.*;
|
||||
import static org.springframework.data.redis.connection.lettuce.LettuceReactiveCommandsTestsBase.*;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import reactor.test.StepVerifier;
|
||||
|
||||
import org.junit.Test;
|
||||
@@ -40,11 +41,13 @@ public class LettuceReactiveClusterServerCommandsTests extends LettuceReactiveCl
|
||||
}
|
||||
|
||||
@Test // DATAREDIS-659
|
||||
@Ignore("DATAREDIS-708, Causes ERR Background append only file rewriting already")
|
||||
public void bgReWriteAofShouldRespondCorrectly() {
|
||||
StepVerifier.create(connection.serverCommands().bgReWriteAof(NODE1)).expectNextCount(1).verifyComplete();
|
||||
}
|
||||
|
||||
@Test // DATAREDIS-659
|
||||
@Ignore("DATAREDIS-708, Causes ERR Background append only file rewriting already")
|
||||
public void bgSaveShouldRespondCorrectly() {
|
||||
StepVerifier.create(connection.serverCommands().bgSave(NODE1)).expectNextCount(1).verifyComplete();
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@ package org.springframework.data.redis.connection.lettuce;
|
||||
import static org.assertj.core.api.Assertions.*;
|
||||
import static org.junit.Assume.*;
|
||||
|
||||
import org.junit.Ignore;
|
||||
import reactor.test.StepVerifier;
|
||||
|
||||
import org.junit.Test;
|
||||
@@ -34,11 +35,13 @@ public class LettuceReactiveServerCommandsTests extends LettuceReactiveCommandsT
|
||||
}
|
||||
|
||||
@Test // DATAREDIS-659
|
||||
@Ignore("DATAREDIS-708, Causes ERR Background append only file rewriting already")
|
||||
public void bgReWriteAofShouldRespondCorrectly() {
|
||||
StepVerifier.create(connection.serverCommands().bgReWriteAof()).expectNextCount(1).verifyComplete();
|
||||
}
|
||||
|
||||
@Test // DATAREDIS-659, DATAREDIS-667
|
||||
@Ignore("DATAREDIS-708, Causes ERR Background append only file rewriting already")
|
||||
public void bgSaveShouldRespondCorrectly() {
|
||||
|
||||
assumeTrue(connectionProvider instanceof StandaloneConnectionProvider);
|
||||
|
||||
Reference in New Issue
Block a user