From aaffad650740ee58b36684e9fead579a5dd55796 Mon Sep 17 00:00:00 2001 From: Shivansh Arora Date: Wed, 18 Sep 2024 10:37:20 +0530 Subject: [PATCH] it fixes Signed-off-by: Shivansh Arora --- .../opensearch/snapshots/AbstractSnapshotIntegTestCase.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/framework/src/main/java/org/opensearch/snapshots/AbstractSnapshotIntegTestCase.java b/test/framework/src/main/java/org/opensearch/snapshots/AbstractSnapshotIntegTestCase.java index a8bb10fe20752..4a0dcc391cf0a 100644 --- a/test/framework/src/main/java/org/opensearch/snapshots/AbstractSnapshotIntegTestCase.java +++ b/test/framework/src/main/java/org/opensearch/snapshots/AbstractSnapshotIntegTestCase.java @@ -161,7 +161,10 @@ public void assertRepoConsistency() { .get() .repositories() .stream() - .filter(repositoryMetadata -> !repositoryMetadata.name().endsWith(TEST_REMOTE_STORE_REPO_SUFFIX)) + .filter(repositoryMetadata -> !repositoryMetadata.name().endsWith(TEST_REMOTE_STORE_REPO_SUFFIX) + && !repositoryMetadata.name().equals("test-remote-store-repo") + && !repositoryMetadata.name().equals("remote-routing-repo") + ) .forEach(repositoryMetadata -> { final String name = repositoryMetadata.name(); if (repositoryMetadata.settings().getAsBoolean("readonly", false) == false) {