diff --git a/governator-core/src/test/java/com/netflix/governator/LifecycleManagerTest.java b/governator-core/src/test/java/com/netflix/governator/LifecycleManagerTest.java index 869f30b1..f760f239 100644 --- a/governator-core/src/test/java/com/netflix/governator/LifecycleManagerTest.java +++ b/governator-core/src/test/java/com/netflix/governator/LifecycleManagerTest.java @@ -69,13 +69,13 @@ public void testWithExternalListener() throws InterruptedException { CountingLifecycleListener listener = new CountingLifecycleListener(); injector.addListener(listener); - Assert.assertEquals(0, listener.getStartedCount()); + Assert.assertEquals(1, listener.getStartedCount()); Assert.assertEquals(0, listener.getStartFailedCount()); Assert.assertEquals(0, listener.getStoppedCount()); injector.shutdown(); - Assert.assertEquals(0, listener.getStartedCount()); + Assert.assertEquals(1, listener.getStartedCount()); Assert.assertEquals(0, listener.getStartFailedCount()); Assert.assertEquals(1, listener.getStoppedCount()); }