From c7c905f8e97826cb30aa9c01eefa4195e03610ac Mon Sep 17 00:00:00 2001 From: congbo Date: Tue, 7 May 2024 11:39:07 +0800 Subject: [PATCH] fix some test and fix some comment --- .../org/apache/bookkeeper/meta/zk/ZKMetadataDriverTestBase.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bookkeeper-server/src/test/java/org/apache/bookkeeper/meta/zk/ZKMetadataDriverTestBase.java b/bookkeeper-server/src/test/java/org/apache/bookkeeper/meta/zk/ZKMetadataDriverTestBase.java index e5129fb716e..38c85ec7af7 100644 --- a/bookkeeper-server/src/test/java/org/apache/bookkeeper/meta/zk/ZKMetadataDriverTestBase.java +++ b/bookkeeper-server/src/test/java/org/apache/bookkeeper/meta/zk/ZKMetadataDriverTestBase.java @@ -57,6 +57,7 @@ public void setup(AbstractConfiguration conf) throws Exception { when(mockZkBuilder.operationRetryPolicy(any(RetryPolicy.class))) .thenReturn(mockZkBuilder); when(mockZkBuilder.requestRateLimit(anyDouble())).thenReturn(mockZkBuilder); + when(mockZkBuilder.watchers(any())).thenReturn(mockZkBuilder); when(mockZkBuilder.statsLogger(any(StatsLogger.class))).thenReturn(mockZkBuilder); this.mockZkc = mock(ZooKeeperClient.class);