Fix Jedis brPop executes twice in a transaction
DATAREDIS-159
This commit is contained in:
@@ -1228,6 +1228,7 @@ public class JedisConnection implements RedisConnection {
|
||||
try {
|
||||
if (isQueueing()) {
|
||||
transaction.brpop(JedisUtils.bXPopArgs(timeout, keys));
|
||||
return null;
|
||||
}
|
||||
if (isPipelined()) {
|
||||
pipeline.brpop(JedisUtils.bXPopArgs(timeout, keys));
|
||||
|
||||
@@ -15,14 +15,6 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||
public class JedisConnectionTransactionIntegrationTests extends
|
||||
JedisConnectionPipelineIntegrationTests {
|
||||
|
||||
@Ignore("DATAREDIS-159 brPop executes twice in a transaction")
|
||||
public void testBRPop() {
|
||||
}
|
||||
|
||||
@Ignore("DATAREDIS-159 brPop executes twice in a transaction")
|
||||
public void testBRPopTimeout() {
|
||||
}
|
||||
|
||||
@Ignore
|
||||
public void testMultiDiscard() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user