From 3cb281ec35280b74ba75a62516a26b0f4b04d5d5 Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Wed, 30 Nov 2022 10:42:55 -0500 Subject: [PATCH] Skip Test OnDemandBlockSnapshotIndexInputTests.testVariousBlockSize on Windows. (#5397) (#5403) Signed-off-by: Marc Handalian Signed-off-by: Marc Handalian (cherry picked from commit d2d87d9a75fa786c668ea4fbbbe1751ba020aca4) Signed-off-by: github-actions[bot] Signed-off-by: Marc Handalian Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] --- .../store/remote/file/OnDemandBlockSnapshotIndexInputTests.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/test/java/org/opensearch/index/store/remote/file/OnDemandBlockSnapshotIndexInputTests.java b/server/src/test/java/org/opensearch/index/store/remote/file/OnDemandBlockSnapshotIndexInputTests.java index 65969cc65359e..6f3387a935c03 100644 --- a/server/src/test/java/org/opensearch/index/store/remote/file/OnDemandBlockSnapshotIndexInputTests.java +++ b/server/src/test/java/org/opensearch/index/store/remote/file/OnDemandBlockSnapshotIndexInputTests.java @@ -16,6 +16,7 @@ import org.apache.lucene.store.MMapDirectory; import org.apache.lucene.store.SimpleFSLockFactory; import org.apache.lucene.tests.util.LuceneTestCase; +import org.apache.lucene.util.Constants; import org.apache.lucene.util.Version; import org.junit.After; import org.junit.Before; @@ -52,6 +53,7 @@ public class OnDemandBlockSnapshotIndexInputTests extends OpenSearchTestCase { @Before public void init() { + assumeFalse("Awaiting Windows fix https://github.com/opensearch-project/OpenSearch/issues/5396", Constants.WINDOWS); transferManager = mock(TransferManager.class); lockFactory = SimpleFSLockFactory.INSTANCE; path = LuceneTestCase.createTempDir("OnDemandBlockSnapshotIndexInputTests");