From c06b7f0ab7cca154e44c4d7ab3bd7de18949db36 Mon Sep 17 00:00:00 2001 From: Marc Handalian Date: Wed, 18 Jan 2023 11:59:27 -0800 Subject: [PATCH] Muting TranslogTransferManagerTests on Windows. 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);