From 2858bd9f347068e6b402f816c00566172660081d Mon Sep 17 00:00:00 2001 From: Marc Handalian Date: Wed, 18 Jan 2023 14:33:52 -0700 Subject: [PATCH] Muting TranslogTransferManagerTests on Windows. (#5924) Signed-off-by: Marc Handalian Signed-off-by: Marc Handalian --- .../index/translog/transfer/TranslogTransferManagerTests.java | 3 +++ 1 file changed, 3 insertions(+) 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);