Skip to content

Commit 8ea38d1

Browse files
committed
Merge branch '1.5.x'
2 parents a1ab994 + 58a1ed1 commit 8ea38d1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

spring-boot-actuator/src/main/java/org/springframework/boot/actuate/autoconfigure/HealthIndicatorAutoConfiguration.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,7 @@ public HealthIndicator ldapHealthIndicator() {
262262
}
263263

264264
@Configuration
265+
@ConditionalOnClass(MongoTemplate.class)
265266
@ConditionalOnBean(MongoTemplate.class)
266267
@ConditionalOnEnabledHealthIndicator("mongo")
267268
public static class MongoHealthIndicatorConfiguration extends

spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/cache/CacheAutoConfigurationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ public void ehcache3AsJCacheWithConfig() throws IOException {
434434
}
435435

436436
@Test
437-
public void hazelcastCacheExplicit() { // Fail
437+
public void hazelcastCacheExplicit() {
438438
load(new Class[] { HazelcastAutoConfiguration.class,
439439
DefaultCacheConfiguration.class }, "spring.cache.type=hazelcast");
440440
HazelcastCacheManager cacheManager = validateCacheManager(

0 commit comments

Comments
 (0)