@ -72,7 +72,7 @@ public class SolrHealthIndicatorTests {
SolrHealthIndicator healthIndicator = new SolrHealthIndicator ( solrClient ) ;
SolrHealthIndicator healthIndicator = new SolrHealthIndicator ( solrClient ) ;
Health health = healthIndicator . health ( ) ;
Health health = healthIndicator . health ( ) ;
assertThat ( health . getStatus ( ) ) . isEqualTo ( Status . UP ) ;
assertThat ( health . getStatus ( ) ) . isEqualTo ( Status . UP ) ;
assertThat ( health . getDetails ( ) . get ( "s olrS tatus") ) . isEqualTo ( "OK" ) ;
assertThat ( health . getDetails ( ) . get ( "s tatus") ) . isEqualTo ( 0 ) ;
}
}
@Test
@Test
@ -83,7 +83,7 @@ public class SolrHealthIndicatorTests {
SolrHealthIndicator healthIndicator = new SolrHealthIndicator ( solrClient ) ;
SolrHealthIndicator healthIndicator = new SolrHealthIndicator ( solrClient ) ;
Health health = healthIndicator . health ( ) ;
Health health = healthIndicator . health ( ) ;
assertThat ( health . getStatus ( ) ) . isEqualTo ( Status . DOWN ) ;
assertThat ( health . getStatus ( ) ) . isEqualTo ( Status . DOWN ) ;
assertThat ( health . getDetails ( ) . get ( "s olrS tatus") ) . isEqualTo ( 400 ) ;
assertThat ( health . getDetails ( ) . get ( "s tatus") ) . isEqualTo ( 400 ) ;
}
}
@Test
@Test