Align SessionAutoConfigurationRedisTests with changes in Bean-RC1

See gh-14573
pull/14579/head
Andy Wilkinson 6 years ago
parent 86c2b4a335
commit 8e9a93e5f3

@ -57,7 +57,7 @@ public class SessionAutoConfigurationRedisTests
.withPropertyValues("spring.session.store-type=redis",
"spring.redis.port=" + redis.getMappedPort())
.withConfiguration(AutoConfigurations.of(RedisAutoConfiguration.class))
.run(validateSpringSessionUsesRedis("spring:session:event:created:",
.run(validateSpringSessionUsesRedis("spring:session:event:0:created:",
RedisFlushMode.ON_SAVE, "0 * * * * *"));
}
@ -69,7 +69,7 @@ public class SessionAutoConfigurationRedisTests
MongoOperationsSessionRepository.class))
.withConfiguration(AutoConfigurations.of(RedisAutoConfiguration.class))
.withPropertyValues("spring.redis.port=" + redis.getMappedPort())
.run(validateSpringSessionUsesRedis("spring:session:event:created:",
.run(validateSpringSessionUsesRedis("spring:session:event:0:created:",
RedisFlushMode.ON_SAVE, "0 * * * * *"));
}
@ -82,7 +82,7 @@ public class SessionAutoConfigurationRedisTests
"spring.session.redis.flush-mode=immediate",
"spring.session.redis.cleanup-cron=0 0 12 * * *",
"spring.redis.port=" + redis.getMappedPort())
.run(validateSpringSessionUsesRedis("foo:event:created:",
.run(validateSpringSessionUsesRedis("foo:event:0:created:",
RedisFlushMode.IMMEDIATE, "0 0 12 * * *"));
}

Loading…
Cancel
Save