From 5192bcdccb838140fc66ff4ccb03244233edf563 Mon Sep 17 00:00:00 2001 From: Jia-Xuan Liu Date: Mon, 22 Jan 2024 16:10:17 +0800 Subject: [PATCH] fix tests --- accio-main/src/main/java/io/accio/main/AccioManager.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/accio-main/src/main/java/io/accio/main/AccioManager.java b/accio-main/src/main/java/io/accio/main/AccioManager.java index 15634ce18..78e00422d 100644 --- a/accio-main/src/main/java/io/accio/main/AccioManager.java +++ b/accio-main/src/main/java/io/accio/main/AccioManager.java @@ -31,7 +31,6 @@ import java.time.format.DateTimeFormatter; import java.util.Arrays; import java.util.List; -import java.util.concurrent.CompletableFuture; import static io.accio.base.Utils.checkArgument; import static io.accio.base.dto.Manifest.MANIFEST_JSON_CODEC; @@ -118,7 +117,7 @@ public synchronized void deployAndArchive(Manifest manifest) private void deploy() { cacheManager.createTask(getAnalyzedMDL()); - CompletableFuture.runAsync(pgCatalogManager::initPgCatalog); + pgCatalogManager.initPgCatalog(); } private void archiveAccioMDL(AccioMDL oldAccioMDL)