Skip to content

Commit

Permalink
Disable multithread test on java 8 (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrongestNumber9 authored Sep 19, 2023
1 parent 977f4cc commit 6cfa10a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/test/java/com/teragrep/rlp_03/ServerShutdownTest.java
Original file line number Diff line number Diff line change
@@ -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;

Expand All @@ -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);
Expand Down

0 comments on commit 6cfa10a

Please sign in to comment.