diff --git a/server/src/test/java/org/opensearch/index/translog/transfer/TranslogTransferManagerTests.java b/server/src/test/java/org/opensearch/index/translog/transfer/TranslogTransferManagerTests.java index 8c465a17c2bb2..0677879549905 100644 --- a/server/src/test/java/org/opensearch/index/translog/transfer/TranslogTransferManagerTests.java +++ b/server/src/test/java/org/opensearch/index/translog/transfer/TranslogTransferManagerTests.java @@ -9,6 +9,7 @@ package org.opensearch.index.translog.transfer; import org.apache.lucene.tests.util.LuceneTestCase; +import org.apache.lucene.util.Constants; import org.mockito.Mockito; import org.opensearch.action.ActionListener; import org.opensearch.common.blobstore.BlobPath; @@ -49,6 +50,8 @@ public class TranslogTransferManagerTests extends OpenSearchTestCase { @Override public void setUp() throws Exception { super.setUp(); + // Muting this test on windows until https://github.com/opensearch-project/OpenSearch/issues/5923 + assumeFalse("Test does not run on Windows", Constants.WINDOWS); primaryTerm = randomNonNegativeLong(); generation = randomNonNegativeLong(); minTranslogGeneration = randomLongBetween(0, generation);