diff --git a/northstar-api/src/test/java/org/dromara/northstar/gateway/mktdata/MinuteBarGeneratorTest.java b/northstar-api/src/test/java/org/dromara/northstar/gateway/mktdata/MinuteBarGeneratorTest.java index e31d2686c..b4f066944 100644 --- a/northstar-api/src/test/java/org/dromara/northstar/gateway/mktdata/MinuteBarGeneratorTest.java +++ b/northstar-api/src/test/java/org/dromara/northstar/gateway/mktdata/MinuteBarGeneratorTest.java @@ -55,26 +55,4 @@ void testSHFEDuringMarketTime() { assertThat(results).isNotEmpty(); } - @Test - void testSHFEClosingMarketTime() throws InterruptedException { - LocalDate date = LocalDate.now(); - LocalTime time = LocalTime.now().withMinute(0).withSecond(0).withNano(0); - for(int i=0; i<120; i++) { - time = time.plusNanos(500*1000000); - long timestamp = CommonUtils.localDateTimeToMills(LocalDateTime.of(date, time)); - System.out.println("time:" + time); - barGen.update(Tick.builder() - .contract(c) - .tradingDay(date) - .actionDay(date) - .actionTime(time) - .actionTimestamp(timestamp) - .channelType(ChannelType.CTP) - .type(TickType.MARKET_TICK) - .build()); - } - Thread.sleep(60000); - assertThat(results).isNotEmpty(); - } - } diff --git a/pom.xml b/pom.xml index 4f57f1fcf..a5f5e464b 100644 --- a/pom.xml +++ b/pom.xml @@ -24,20 +24,18 @@ 2.0.9 3.7 1.16.0 - 2.6 + 2.15.1 3.6.1 2.0.4 - 30.1-jre + 33.0.0-jre 3.19.1 1.4 - 3.4.2 - 3.5.0 - 3.1.0 + 3.4.4 1.7.19 1.0.0 5.7.22 - 2.15.3 - 1.14.10 + 2.16.1 + 1.14.11 4.1.104.Final 2.2.224 @@ -212,11 +210,6 @@ jackson-databind ${jackson-version} - - com.auth0 - java-jwt - ${jwt-version} - commons-io commons-io @@ -403,7 +396,7 @@ org.codehaus.mojo versions-maven-plugin - 2.7 + 2.16.2 @@ -411,7 +404,7 @@ org.apache.maven.plugins maven-clean-plugin - 2.4.1 + 3.2.0 org.apache.maven.plugins @@ -539,7 +532,7 @@ org.springframework.boot spring-boot-maven-plugin - 2.6.4 + 3.2.0 repackage @@ -585,7 +578,7 @@ org.jacoco jacoco-maven-plugin - 0.8.7 + 0.8.11 default-prepare-agent @@ -654,7 +647,7 @@ org.codehaus.mojo exec-maven-plugin - 1.6.0 + 3.1.1