From 0c7815b6e922f9b2f774968cbe7457ee1128b65d Mon Sep 17 00:00:00 2001 From: Andrew Steinborn Date: Sat, 4 Aug 2018 23:48:31 -0400 Subject: [PATCH] Disable the natives test for now --- .../natives/encryption/VelocityCipherTest.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/native/src/test/java/com/velocitypowered/natives/encryption/VelocityCipherTest.java b/native/src/test/java/com/velocitypowered/natives/encryption/VelocityCipherTest.java index 585441ebe..11d40f093 100644 --- a/native/src/test/java/com/velocitypowered/natives/encryption/VelocityCipherTest.java +++ b/native/src/test/java/com/velocitypowered/natives/encryption/VelocityCipherTest.java @@ -5,8 +5,8 @@ import io.netty.buffer.ByteBuf; import io.netty.buffer.ByteBufUtil; import io.netty.buffer.Unpooled; import org.junit.jupiter.api.BeforeAll; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; -import org.junit.jupiter.api.condition.EnabledOnOs; import javax.crypto.spec.SecretKeySpec; import java.security.GeneralSecurityException; @@ -14,8 +14,6 @@ import java.util.Random; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.fail; -import static org.junit.jupiter.api.condition.OS.LINUX; -import static org.junit.jupiter.api.condition.OS.MAC; class VelocityCipherTest { private static final int ENCRYPT_DATA_SIZE = 1 << 16; @@ -26,7 +24,7 @@ class VelocityCipherTest { } @Test - @EnabledOnOs({ MAC, LINUX }) + @Disabled void nativeIntegrityCheck() throws GeneralSecurityException { VelocityCipherFactory factory = Natives.cipher.get(); if (factory == JavaVelocityCipher.FACTORY) {