From c16310f541538dab975111df2893f78e5cd227d4 Mon Sep 17 00:00:00 2001 From: Zachary Pinto Date: Tue, 17 Oct 2023 14:41:29 -0400 Subject: [PATCH] Update MockHelixAdmin with implemenations for isSwapReadyToComplete and completeSwapIfReady. --- .../java/org/apache/helix/mock/MockHelixAdmin.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/helix-core/src/test/java/org/apache/helix/mock/MockHelixAdmin.java b/helix-core/src/test/java/org/apache/helix/mock/MockHelixAdmin.java index 512a7b4db76..87789baba6c 100644 --- a/helix-core/src/test/java/org/apache/helix/mock/MockHelixAdmin.java +++ b/helix-core/src/test/java/org/apache/helix/mock/MockHelixAdmin.java @@ -556,6 +556,16 @@ public boolean isEvacuateFinished(String clusterName, String instancesNames) { return false; } + @Override + public boolean isSwapReadyToComplete(String clusterName, String instancesNames) { + return false; + } + + @Override + public boolean completeSwapIfReady(String clusterName, String instanceName) { + return false; + } + @Override public boolean isReadyForPreparingJoiningCluster(String clusterName, String instancesNames) { return false;