Merge branch '1.5.x'

pull/9608/head
Stephane Nicoll 8 years ago
commit 8ea38d1cbe

@ -262,6 +262,7 @@ public class HealthIndicatorAutoConfiguration {
} }
@Configuration @Configuration
@ConditionalOnClass(MongoTemplate.class)
@ConditionalOnBean(MongoTemplate.class) @ConditionalOnBean(MongoTemplate.class)
@ConditionalOnEnabledHealthIndicator("mongo") @ConditionalOnEnabledHealthIndicator("mongo")
public static class MongoHealthIndicatorConfiguration extends public static class MongoHealthIndicatorConfiguration extends

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

Loading…
Cancel
Save