You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by yo...@apache.org on 2022/08/01 13:45:03 UTC
[bookkeeper] 17/17: Fix the build issue
This is an automated email from the ASF dual-hosted git repository.
yong pushed a commit to branch branch-4.15
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
commit 067dd4e61457fd500e36a1a1fad03cb500484fd1
Author: Yong Zhang <zh...@gmail.com>
AuthorDate: Mon Aug 1 21:44:26 2022 +0800
Fix the build issue
---
bookkeeper-server/pom.xml | 5 +++++
.../test/java/org/apache/bookkeeper/bookie/LedgerCacheTest.java | 2 +-
pom.xml | 7 +++++++
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/bookkeeper-server/pom.xml b/bookkeeper-server/pom.xml
index 454311e195..10ae6281fd 100644
--- a/bookkeeper-server/pom.xml
+++ b/bookkeeper-server/pom.xml
@@ -191,6 +191,11 @@
<version>${project.parent.version}</version>
<scope>test</scope>
</dependency>
+ <dependency>
+ <groupId>org.awaitility</groupId>
+ <artifactId>awaitility</artifactId>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
<plugins>
diff --git a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/LedgerCacheTest.java b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/LedgerCacheTest.java
index 15947977c7..3350b88510 100644
--- a/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/LedgerCacheTest.java
+++ b/bookkeeper-server/src/test/java/org/apache/bookkeeper/bookie/LedgerCacheTest.java
@@ -352,7 +352,7 @@ public class LedgerCacheTest {
// this is fine, means the ledger was written to the index cache, but not
// the entry log
} catch (IOException ioe) {
- if (ioe.getCause() instanceof DefaultEntryLogger.EntryLookupException) {
+ if (ioe.getCause() instanceof EntryLogger.EntryLookupException) {
// this is fine, means the ledger was not fully written to
// the entry log
} else {
diff --git a/pom.xml b/pom.xml
index 7b420b76da..aa42a9abce 100644
--- a/pom.xml
+++ b/pom.xml
@@ -211,6 +211,7 @@
<forkCount.variable>1</forkCount.variable>
<servlet-api.version>4.0.0</servlet-api.version>
<rxjava.version>3.0.1</rxjava.version>
+ <awaitility.version>4.0.3</awaitility.version>
</properties>
<!-- dependency definitions -->
@@ -751,6 +752,12 @@
<artifactId>jsoup</artifactId>
<version>${jsoup.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.awaitility</groupId>
+ <artifactId>awaitility</artifactId>
+ <version>${awaitility.version}</version>
+ <scope>test</scope>
+ </dependency>
<!-- benchmark dependencies -->
<dependency>