Skip to content

Commit a515fdf

Browse files
committed
Skip TieredIndexIT if CuVS native support is unavailable
1 parent f904d50 commit a515fdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

java/cuvs-java/src/test/java/com/nvidia/cuvs/TieredIndexIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import static org.junit.Assert.assertEquals;
1919
import static org.junit.Assert.assertFalse;
2020
import static org.junit.Assert.assertTrue;
21+
import static org.junit.Assume.assumeTrue;
2122

2223
import com.carrotsearch.randomizedtesting.RandomizedRunner;
2324
import java.lang.invoke.MethodHandles;
@@ -39,6 +40,7 @@ public class TieredIndexIT extends CuVSTestCase {
3940

4041
@Before
4142
public void setup() {
43+
assumeTrue("not supported on " + System.getProperty("os.name"), isLinuxAmd64());
4244
initializeRandom();
4345
log.debug("Random context initialized for test");
4446
}

0 commit comments

Comments
 (0)