diff --git a/src/main/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/rca/framework/core/RcaConf.java b/src/main/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/rca/framework/core/RcaConf.java index 03cd964c8..70b3c3490 100644 --- a/src/main/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/rca/framework/core/RcaConf.java +++ b/src/main/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/rca/framework/core/RcaConf.java @@ -243,7 +243,7 @@ public T readRcaConfig(String rcaName, String key, T defaultValue, Predicate return setting; } - public static boolean updateAllRcaConfFiles(final Set mutedRcas, final Set mutedDeciders, + public boolean updateAllRcaConfFiles(final Set mutedRcas, final Set mutedDeciders, final Set mutedActions) { boolean updateStatus = true; // update all rca.conf files @@ -260,7 +260,7 @@ public static boolean updateAllRcaConfFiles(final Set mutedRcas, final S return updateStatus; } - private static boolean updateRcaConf(String originalFilePath, final Set mutedRcas, + private boolean updateRcaConf(String originalFilePath, final Set mutedRcas, final Set mutedDeciders, final Set mutedActions) { String updatedPath = originalFilePath + ".updated"; diff --git a/src/test/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/config/overrides/ConfigOverridesApplierTest.java b/src/test/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/config/overrides/ConfigOverridesApplierTest.java index 4d61b0126..e70c45a37 100644 --- a/src/test/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/config/overrides/ConfigOverridesApplierTest.java +++ b/src/test/java/com/amazon/opendistro/elasticsearch/performanceanalyzer/config/overrides/ConfigOverridesApplierTest.java @@ -35,13 +35,11 @@ import java.util.List; import java.util.Set; import org.junit.Before; -import org.junit.Ignore; import org.junit.Test; import org.mockito.ArgumentCaptor; import org.mockito.Captor; import org.mockito.Mock; -@Ignore public class ConfigOverridesApplierTest { private static final String RCA1 = "rca1";