diff --git a/plugin/src/test/java/org/opensearch/ml/action/MLCommonsIntegTestCase.java b/plugin/src/test/java/org/opensearch/ml/action/MLCommonsIntegTestCase.java index e99459dd70..6294aaffe3 100644 --- a/plugin/src/test/java/org/opensearch/ml/action/MLCommonsIntegTestCase.java +++ b/plugin/src/test/java/org/opensearch/ml/action/MLCommonsIntegTestCase.java @@ -414,10 +414,6 @@ public MLSyncUpNodesResponse syncUp_Clear() { @Override protected Settings nodeSettings(int ordinal) { - return Settings - .builder() - .put(super.nodeSettings(ordinal)) - .put(ML_COMMONS_ONLY_RUN_ON_ML_NODE.getKey(), false) - .build(); + return Settings.builder().put(super.nodeSettings(ordinal)).put(ML_COMMONS_ONLY_RUN_ON_ML_NODE.getKey(), false).build(); } }