|
|
@ -110,8 +110,8 @@ public class SentinelHealthIndicatorTests {
|
|
|
|
Health health = sentinelHealthIndicator.health();
|
|
|
|
Health health = sentinelHealthIndicator.health();
|
|
|
|
|
|
|
|
|
|
|
|
assertThat(health.getStatus()).isEqualTo(Status.UNKNOWN);
|
|
|
|
assertThat(health.getStatus()).isEqualTo(Status.UNKNOWN);
|
|
|
|
assertThat(health.getDetails().get("dashboard")).isEqualTo(
|
|
|
|
assertThat(health.getDetails().get("dashboard")).isEqualTo(new Status(
|
|
|
|
new Status(Status.UNKNOWN.getCode(), "localhost:8080 can't be connected"));
|
|
|
|
Status.UNKNOWN.getCode(), "localhost:8080 can't be connected"));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Test
|
|
|
|
@Test
|
|
|
|