Disable ZRANGESTORE with binary keys.

Seems something is off in Redis' that causes a Redis crash.

Closes #2441
This commit is contained in:
Mark Paluch
2022-10-21 14:19:04 +02:00
parent ccdd5d2d98
commit 53c08d5565
2 changed files with 7 additions and 4 deletions

View File

@@ -18,8 +18,6 @@ package org.springframework.data.redis.core;
import static org.assertj.core.api.Assertions.*;
import static org.assertj.core.api.Assumptions.*;
import reactor.test.StepVerifier;
import java.time.Duration;
import java.util.Arrays;
import java.util.Collection;
@@ -28,7 +26,6 @@ import java.util.List;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.springframework.data.domain.Range;
import org.springframework.data.redis.ByteBufferObjectFactory;
import org.springframework.data.redis.ObjectFactory;
@@ -44,6 +41,8 @@ import org.springframework.data.redis.test.condition.EnabledOnCommand;
import org.springframework.data.redis.test.extension.parametrized.MethodSource;
import org.springframework.data.redis.test.extension.parametrized.ParameterizedRedisTest;
import reactor.test.StepVerifier;
/**
* Integration tests for {@link DefaultReactiveZSetOperations}.
*
@@ -441,6 +440,7 @@ public class DefaultReactiveZSetOperationsIntegrationTests<K, V> {
}
@ParameterizedRedisTest // GH-2345
@Disabled("https://github.com/spring-projects/spring-data-redis/issues/2441")
void rangeAndStoreByScore() {
assumeThat(valueFactory instanceof ByteBufferObjectFactory).isFalse();
@@ -486,6 +486,7 @@ public class DefaultReactiveZSetOperationsIntegrationTests<K, V> {
}
@ParameterizedRedisTest // GH-2345
@Disabled("https://github.com/spring-projects/spring-data-redis/issues/2441")
void reverseRangeAndStoreByScore() {
assumeThat(valueFactory instanceof ByteBufferObjectFactory).isFalse();

View File

@@ -28,7 +28,7 @@ import java.util.concurrent.TimeUnit;
import org.assertj.core.data.Offset;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.springframework.data.domain.Range;
import org.springframework.data.redis.DoubleAsStringObjectFactory;
import org.springframework.data.redis.DoubleObjectFactory;
@@ -610,6 +610,7 @@ public abstract class AbstractRedisZSetTestIntegration<T> extends AbstractRedisC
}
@ParameterizedRedisTest // GH-2345
@Disabled("https://github.com/spring-projects/spring-data-redis/issues/2441")
void testRangeAndStoreByScore() {
T t1 = getT();
@@ -625,6 +626,7 @@ public abstract class AbstractRedisZSetTestIntegration<T> extends AbstractRedisC
}
@ParameterizedRedisTest // GH-2345
@Disabled("https://github.com/spring-projects/spring-data-redis/issues/2441")
void testRangeAndStoreRevByScore() {
T t1 = getT();