diff --git a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/ClusterInfoCommandTest.java b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/ClusterInfoCommandTest.java index ae60b698a96..b0c88a0d2af 100644 --- a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/ClusterInfoCommandTest.java +++ b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/ClusterInfoCommandTest.java @@ -70,7 +70,7 @@ public void testRecoveryDisabled() { fail("should failed"); } catch (Exception e) { assertTrue(e instanceof ReplicationException.UnavailableException); - assertTrue(e.getMessage().contains("Autorecovery is disabled. So giving up")); + assertTrue(e.getMessage().contains("Autorecovery is disabled due to missing Zookeeper node. Aborting recovery")); } }