From 512120cb4b0f252c49dc259672329ee0696461b7 Mon Sep 17 00:00:00 2001 From: Kexin Date: Mon, 9 May 2022 15:13:43 -0700 Subject: [PATCH] Fix windows continuous build issus --- .../ai/djl/integration/tests/ndarray/NDIndexTest.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/integration/src/main/java/ai/djl/integration/tests/ndarray/NDIndexTest.java b/integration/src/main/java/ai/djl/integration/tests/ndarray/NDIndexTest.java index 4cf0acb76224..0afa14f7f30c 100644 --- a/integration/src/main/java/ai/djl/integration/tests/ndarray/NDIndexTest.java +++ b/integration/src/main/java/ai/djl/integration/tests/ndarray/NDIndexTest.java @@ -12,6 +12,7 @@ */ package ai.djl.integration.tests.ndarray; +import ai.djl.engine.Engine; import ai.djl.ndarray.NDArray; import ai.djl.ndarray.NDManager; import ai.djl.ndarray.index.NDIndex; @@ -55,11 +56,6 @@ public void testPick() { @Test public void testGather() { - // Currently in windows gradle cannot find all the engines to fill in -classpath, except for - // MXNet. - // In the dependencies, changing runtimeOnly to api however will remedy the problem. - // TODO: remove this when gradle problem is fixed. - TestRequirements.notWindows(); try (NDManager manager = NDManager.newBaseManager()) { NDArray arr = manager.arange(20f).reshape(-1, 4); NDArray index = manager.create(new long[] {0, 0, 2, 1, 1, 2}, new Shape(3, 2)); @@ -71,8 +67,6 @@ public void testGather() { @Test public void testTake() { - // TODO: remove this when gradle problem in windows shown above is fixed. - TestRequirements.notWindows(); try (NDManager manager = NDManager.newBaseManager()) { NDArray arr = manager.arange(1, 7f).reshape(-1, 3); NDArray index = manager.create(new long[] {0, 4, 1, 2}, new Shape(2, 2));