From ae8852dc9dd59981d78cbbec2b65ccd06172b77a Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Mon, 25 May 2020 13:29:02 -0400 Subject: [PATCH] Native tests should only run on Linux --- .../natives/compression/VelocityCompressorTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/native/src/test/java/com/velocitypowered/natives/compression/VelocityCompressorTest.java b/native/src/test/java/com/velocitypowered/natives/compression/VelocityCompressorTest.java index 98533c848..2bc657b0f 100644 --- a/native/src/test/java/com/velocitypowered/natives/compression/VelocityCompressorTest.java +++ b/native/src/test/java/com/velocitypowered/natives/compression/VelocityCompressorTest.java @@ -33,13 +33,13 @@ class VelocityCompressorTest { } @Test - @EnabledOnOs({MAC, LINUX}) + @EnabledOnOs({LINUX}) void sanityCheckNative() { assertThrows(IllegalArgumentException.class, () -> Natives.compress.get().create(-42)); } @Test - @EnabledOnOs({MAC, LINUX}) + @EnabledOnOs({LINUX}) void nativeIntegrityCheck() throws DataFormatException { VelocityCompressor compressor = Natives.compress.get().create(Deflater.DEFAULT_COMPRESSION); if (compressor.preferredBufferType() != BufferPreference.DIRECT_REQUIRED) {