Skip to content

Commit

Permalink
Skip Test OnDemandBlockSnapshotIndexInputTests.testVariousBlockSize o…
Browse files Browse the repository at this point in the history
…n Windows. (#5397)

Signed-off-by: Marc Handalian <handalm@amazon.com>

Signed-off-by: Marc Handalian <handalm@amazon.com>
(cherry picked from commit d2d87d9)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Nov 29, 2022
1 parent 44e9343 commit 18dd8db
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 18dd8db

Please sign in to comment.