use of com.alipay.sofa.boot.actuator.health.MultiApplicationHealthIndicator in project sofa-boot by sofastack.
the class MultiApplicationHealthIndicatorTest method testUp.
@Test
public void testUp() {
SofaFramework.registerSofaRuntimeManager(new StandardSofaRuntimeManager("test1", this.getClass().getClassLoader(), null));
Assert.assertEquals(Status.UP, new MultiApplicationHealthIndicator().health().getStatus());
}
use of com.alipay.sofa.boot.actuator.health.MultiApplicationHealthIndicator in project sofa-boot by alipay.
the class MultiApplicationHealthIndicatorTest method testUp.
@Test
public void testUp() {
SofaFramework.registerSofaRuntimeManager(new StandardSofaRuntimeManager("test1", this.getClass().getClassLoader(), null));
Assert.assertEquals(Status.UP, new MultiApplicationHealthIndicator().health().getStatus());
}
Aggregations