Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<maven.compiler.target>1.8</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<maven.compiler.source>17</maven.compiler.source>

<delombok.output>target/delombok</delombok.output>
</properties>
Expand Down Expand Up @@ -445,13 +445,16 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M3</version>
</plugin>
<version>3.2.5</version>
<configuration>
<argLine>--add-opens=java.base/sun.nio.ch=ALL-UNNAMED</argLine>
</configuration>
</plugin>

<plugin>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-maven-plugin</artifactId>
<version>1.18.12.0</version>
<version>1.18.20.0</version>
<configuration>
<sourceDirectory>${project.basedir}/src/main/java</sourceDirectory>
<outputDirectory>${delombok.output}</outputDirectory>
Expand All @@ -460,7 +463,7 @@
</configuration>
<executions>
<execution>
<phase>generate-sources</phase>
<phase>prepare-package</phase>
<goals>
<goal>delombok</goal>
</goals>
Expand Down Expand Up @@ -585,7 +588,7 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration combine.self="override">
<!--<argLine>-XX:+PrintApplicationStoppedTime</argLine>-->
<!--<argLine>-XX:+PrintApplicationStoppedTime --add-opens=java.base/sun.nio.ch=ALL-UNNAMED</argLine>-->
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<includes>
<include>**/IT*.java</include>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import exchange.core2.core.common.cmd.OrderCommand;
import exchange.core2.core.orderbook.IOrderBook;
import exchange.core2.tests.util.TestOrdersGenerator;
import jdk.nashorn.internal.ir.annotations.Ignore;
import org.junit.jupiter.api.Disabled;
import lombok.extern.slf4j.Slf4j;
import net.openhft.affinity.AffinityLock;
import org.junit.jupiter.api.AfterEach;
Expand Down Expand Up @@ -168,7 +168,7 @@ private void performanceTest(int numOrders, int targetOrderBookOrders) {
// // TODO add more checks for MatcherTradeEvent
// }

@Ignore
@Disabled
@Test
public void testNano() throws InterruptedException {
long baseTime = System.currentTimeMillis() * 1_000_000 - System.nanoTime();
Expand All @@ -192,7 +192,7 @@ public void testNano() throws InterruptedException {
}


@Ignore
@Disabled
@Test
public void testNano2() throws InterruptedException {
long baseTime = System.currentTimeMillis() * 1_000_000 - System.nanoTime();
Expand Down