From 09bdae4b31ffec5c056a690728f2beb1f18d37f7 Mon Sep 17 00:00:00 2001 From: Ashish Singh Date: Wed, 4 Sep 2024 23:47:13 +0530 Subject: [PATCH] Fix test Signed-off-by: Ashish Singh --- .../gateway/remote/RemoteClusterStateServiceTests.java | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/server/src/test/java/org/opensearch/gateway/remote/RemoteClusterStateServiceTests.java b/server/src/test/java/org/opensearch/gateway/remote/RemoteClusterStateServiceTests.java index bc926a8443407..081b5f570c559 100644 --- a/server/src/test/java/org/opensearch/gateway/remote/RemoteClusterStateServiceTests.java +++ b/server/src/test/java/org/opensearch/gateway/remote/RemoteClusterStateServiceTests.java @@ -2978,7 +2978,15 @@ private void initializeWithChecksumEnabled() { clusterService, () -> 0L, threadPool, - List.of(new RemoteIndexPathUploader(threadPool, newSettings, repositoriesServiceSupplier, clusterSettings)), + List.of( + new RemoteIndexPathUploader( + threadPool, + newSettings, + repositoriesServiceSupplier, + clusterSettings, + DefaultRemoteStoreSettings.INSTANCE + ) + ), writableRegistry() ); }