From f672aa885f7e5b3c65def458097588030f7d5279 Mon Sep 17 00:00:00 2001 From: Yaliang Wu Date: Fri, 14 Jul 2023 01:23:11 -0700 Subject: [PATCH] fix remote inference it: update job interval (#1129) Signed-off-by: Yaliang Wu --- .../java/org/opensearch/ml/rest/RestMLRemoteInferenceIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/test/java/org/opensearch/ml/rest/RestMLRemoteInferenceIT.java b/plugin/src/test/java/org/opensearch/ml/rest/RestMLRemoteInferenceIT.java index 3d7165710a..107c132fe1 100644 --- a/plugin/src/test/java/org/opensearch/ml/rest/RestMLRemoteInferenceIT.java +++ b/plugin/src/test/java/org/opensearch/ml/rest/RestMLRemoteInferenceIT.java @@ -676,7 +676,7 @@ private void disableClusterConnectorAccessControl() throws IOException { "PUT", "_cluster/settings", null, - "{\"persistent\":{\"plugins.ml_commons.connector_access_control_enabled\":false}}", + "{\"persistent\":{\"plugins.ml_commons.connector_access_control_enabled\":false, \"plugins.ml_commons.sync_up_job_interval_in_seconds\":3}}", ImmutableList.of(new BasicHeader(HttpHeaders.USER_AGENT, "")) ); assertEquals(200, response.getStatusLine().getStatusCode());