File tree 1 file changed +3
-0
lines changed
src/test/java/org/springframework/data/redis/cache
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 48
48
import org .springframework .data .redis .connection .jedis .JedisConnectionFactory ;
49
49
import org .springframework .data .redis .serializer .RedisSerializationContext .SerializationPair ;
50
50
import org .springframework .data .redis .serializer .RedisSerializer ;
51
+ import org .springframework .data .redis .test .condition .EnabledOnCommand ;
51
52
import org .springframework .data .redis .test .extension .parametrized .MethodSource ;
52
53
import org .springframework .data .redis .test .extension .parametrized .ParameterizedRedisTest ;
53
54
import org .springframework .lang .Nullable ;
@@ -549,6 +550,7 @@ public CacheStatistics getCacheStatistics(String cacheName) {
549
550
assertThat (retrievals ).hasValue (1 );
550
551
}
551
552
553
+ @ EnabledOnCommand ("GETEX" )
552
554
@ ParameterizedRedisTest // GH-2351
553
555
void cacheGetWithTimeToIdleExpirationWhenEntryNotExpiredShouldReturnValue () {
554
556
@@ -565,6 +567,7 @@ void cacheGetWithTimeToIdleExpirationWhenEntryNotExpiredShouldReturnValue() {
565
567
}
566
568
}
567
569
570
+ @ EnabledOnCommand ("GETEX" )
568
571
@ ParameterizedRedisTest // GH-2351
569
572
void cacheGetWithTimeToIdleExpirationAfterEntryExpiresShouldReturnNull () {
570
573
You can’t perform that action at this time.
0 commit comments