if (StringUtils.hasText(version)) {
boolean sloppyMatch = version.endsWith("+");
String cleanedVersionString = version.replace("+", "");
Version expected = RedisVersionUtils.parseVersion(cleanedVersionString);
if (sloppyMatch) {
if (redisVersion.compareTo(expected) < 0) {
throw new AssumptionViolatedException("Expected Redis version " + version + " but found " + redisVersion);
}