diff --git a/distribution/pom.xml b/distribution/pom.xml
index ef835c5827..50c7d20e30 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -126,18 +126,32 @@
${project.groupId}
- mina-transport-serial
+ mina-http
${project.version}
${project.groupId}
- mina-http
+ mina-benchmarks
${project.version}
-
+
+
+
+ serial
+
+
+ with-LGPL-dependencies
+
+
+
+ mina-transport-serial
+
+
+
+
diff --git a/distribution/src/main/assembly/bin.xml b/distribution/src/main/assembly/bin.xml
index 16325893a0..8e431db819 100644
--- a/distribution/src/main/assembly/bin.xml
+++ b/distribution/src/main/assembly/bin.xml
@@ -75,6 +75,9 @@
${project.groupId}:mina-transport-serial
+
+
+ ${project.groupId}:mina-benchmarks
diff --git a/mina-benchmarks/pom.xml b/mina-benchmarks/pom.xml
index c202d79da0..5b507a90fd 100755
--- a/mina-benchmarks/pom.xml
+++ b/mina-benchmarks/pom.xml
@@ -24,12 +24,10 @@
org.apache.mina
mina-parent
- 2.0.8-SNAPSHOT
+ 2.2.11-SNAPSHOT
mina-benchmarks
- org.apache.mina
- 2.0.12-SNAPSHOT
Apache MINA Benchmarks tests
diff --git a/mina-benchmarks/src/test/java/org/apache/mina/core/BenchmarkBinaryTest.java b/mina-benchmarks/src/test/java/org/apache/mina/core/BenchmarkBinaryTest.java
index 2d28ad7a69..406647c056 100755
--- a/mina-benchmarks/src/test/java/org/apache/mina/core/BenchmarkBinaryTest.java
+++ b/mina-benchmarks/src/test/java/org/apache/mina/core/BenchmarkBinaryTest.java
@@ -24,72 +24,52 @@
import java.util.Collection;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
+import java.util.stream.Stream;
import org.apache.mina.core.BenchmarkFactory.Type;
import org.apache.mina.util.AvailablePortFinder;
-import org.junit.After;
-import org.junit.Before;
-import org.junit.Test;
-import org.junit.runner.RunWith;
-import org.junit.runners.Parameterized;
-import org.junit.runners.Parameterized.Parameters;
-import static org.junit.Assert.assertTrue;
-
+import org.junit.jupiter.api.AfterEach;
+import org.junit.jupiter.api.BeforeEach;
+import org.junit.jupiter.api.Tag;
+import org.junit.jupiter.params.ParameterizedTest;
+import org.junit.jupiter.params.provider.Arguments;
+import org.junit.jupiter.params.provider.MethodSource;
+import static org.junit.jupiter.api.Assertions.assertTrue;
/**
* @author Apache MINA Project
*/
-@RunWith(Parameterized.class)
public abstract class BenchmarkBinaryTest {
private int numberOfMessages;
private int port;
-
private BenchmarkServer server;
-
private BenchmarkClient client;
- private int messageSize;
-
- private int timeout;
-
- private byte[] data;
-
- public BenchmarkBinaryTest(int numberOfMessages, int messageSize, int timeout) {
- this.numberOfMessages = numberOfMessages;
- this.messageSize = messageSize;
- this.timeout = timeout;
- }
-
public abstract Type getClientType();
public abstract Type getServerType();
- @Parameters
- public static Collection