mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-10-03 07:49:03 +00:00
Don't apply multiple session configurations
Add additional @ConditionalOnMissingBean guards to session configurations to ensure that the first wins. Also reorder imports to prefer Redis over JDBC. See gh-5158
This commit is contained in:
+1
@@ -56,6 +56,7 @@ public class SampleSessionRedisApplicationTests {
|
||||
if (!redisServerRunning(ex)) {
|
||||
return;
|
||||
}
|
||||
throw ex;
|
||||
}
|
||||
|
||||
URI uri = URI.create("http://localhost:" + port + "/");
|
||||
|
||||
Reference in New Issue
Block a user