From 6cfa10ae97258b43688c042bf8acf373a454b262 Mon Sep 17 00:00:00 2001 From: Strongest Number 9 <16169054+StrongestNumber9@users.noreply.github.com> Date: Tue, 19 Sep 2023 14:41:39 +0300 Subject: [PATCH] Disable multithread test on java 8 (#49) --- src/test/java/com/teragrep/rlp_03/ServerShutdownTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/java/com/teragrep/rlp_03/ServerShutdownTest.java b/src/test/java/com/teragrep/rlp_03/ServerShutdownTest.java index 55628c0f..435ec860 100644 --- a/src/test/java/com/teragrep/rlp_03/ServerShutdownTest.java +++ b/src/test/java/com/teragrep/rlp_03/ServerShutdownTest.java @@ -1,6 +1,8 @@ package com.teragrep.rlp_03; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledOnJre; +import org.junit.jupiter.api.condition.JRE; import java.io.IOException; @@ -15,6 +17,7 @@ public void testServerShutdownSingleThread() throws IOException, InterruptedExce } @Test + @DisabledOnJre(JRE.JAVA_8) public void testServerShutdownMultiThread() throws IOException, InterruptedException { Server server = new Server(10601, new SyslogFrameProcessor(System.out::println)); server.setNumberOfThreads(8);