Fix SRP exception on select in transaction
DATAREDIS-220
This commit is contained in:
@@ -107,6 +107,11 @@ public abstract class AbstractConnectionIntegrationTests {
|
||||
connection.close();
|
||||
connection = null;
|
||||
}
|
||||
|
||||
public void testSelect() {
|
||||
// Make sure this doesn't throw Exception
|
||||
connection.select(1);
|
||||
}
|
||||
|
||||
@Test
|
||||
@IfProfileValue(name = "runLongTests", value = "true")
|
||||
|
||||
@@ -235,6 +235,11 @@ public class JedisConnectionPipelineIntegrationTests extends
|
||||
public void testZRevRangeByScoreWithScoresOffsetCount() {
|
||||
super.testZRevRangeByScoreWithScoresOffsetCount();
|
||||
}
|
||||
|
||||
@Test(expected = UnsupportedOperationException.class)
|
||||
public void testSelect() {
|
||||
super.testSelect();
|
||||
}
|
||||
|
||||
@Test(expected=UnsupportedOperationException.class)
|
||||
public void testHIncrByDouble() {
|
||||
|
||||
@@ -294,6 +294,11 @@ public class JRedisConnectionIntegrationTests extends AbstractConnectionIntegrat
|
||||
public void testZRevRangeByScoreWithScoresOffsetCount() {
|
||||
super.testZRevRangeByScoreWithScoresOffsetCount();
|
||||
}
|
||||
|
||||
@Test(expected = UnsupportedOperationException.class)
|
||||
public void testSelect() {
|
||||
super.testSelect();
|
||||
}
|
||||
|
||||
@Test(expected=UnsupportedOperationException.class)
|
||||
public void testPExpire() {
|
||||
|
||||
@@ -203,7 +203,7 @@ public class LettuceConnectionIntegrationTests extends AbstractConnectionIntegra
|
||||
|
||||
@Test(expected = UnsupportedOperationException.class)
|
||||
public void testSelect() {
|
||||
connection.select(1);
|
||||
super.testSelect();
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@@ -67,6 +67,11 @@ public class LettuceConnectionPipelineIntegrationTests extends
|
||||
@Ignore("DATAREDIS-144 Lettuce closePipeline hangs with discarded transaction")
|
||||
public void testMultiDiscard() {
|
||||
}
|
||||
|
||||
@Test(expected=UnsupportedOperationException.class)
|
||||
public void testSelect() {
|
||||
super.testSelect();
|
||||
}
|
||||
|
||||
// Overrides, usually due to return values being Long vs Boolean or Set vs
|
||||
// List
|
||||
|
||||
Reference in New Issue
Block a user