File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/test/java/org/springframework/data/redis Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ public class RedisTestProfileValueSource implements ProfileValueSource {
4242 private static final String REDIS_32 = "3.2" ;
4343 private static final String REDIS_50 = "5.0" ;
4444 private static final String REDIS_60 = "6.0" ;
45+ private static final String REDIS_606 = "6.0.6" ;
4546 private static final String REDIS_VERSION_KEY = "redisVersion" ;
4647
4748 private static RedisTestProfileValueSource INSTANCE ;
@@ -98,6 +99,10 @@ public String get(String key) {
9899 return System .getProperty (key );
99100 }
100101
102+ if (redisVersion .compareTo (RedisVersionUtils .parseVersion (REDIS_606 )) >= 0 ) {
103+ return REDIS_606 ;
104+ }
105+
101106 if (redisVersion .compareTo (RedisVersionUtils .parseVersion (REDIS_60 )) >= 0 ) {
102107 return REDIS_60 ;
103108 }
You can’t perform that action at this time.
0 commit comments