diff --git a/liteflow-core/src/test/java/com/yomahub/liteflow/monitor/BoundedPriorityQueueTest.java b/liteflow-core/src/test/java/com/yomahub/liteflow/monitor/BoundedPriorityQueueTest.java deleted file mode 100644 index a705ba105..000000000 --- a/liteflow-core/src/test/java/com/yomahub/liteflow/monitor/BoundedPriorityQueueTest.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.yomahub.liteflow.monitor; - -import java.util.Iterator; -import java.util.PriorityQueue; -import cn.hutool.core.collection.BoundedPriorityQueue; -import cn.hutool.core.util.RandomUtil; -import org.junit.Test; - -import com.yomahub.liteflow.entity.monitor.CompStatistics; - -public class BoundedPriorityQueueTest { - - @Test - public void test() throws InterruptedException { - PriorityQueue queue = new BoundedPriorityQueue<>(6); - for (int i = 0; i < 20 ; i ++) { - long randomTime = RandomUtil.randomLong(20); - Thread.sleep(randomTime); - queue.add(new CompStatistics("comp" + i, randomTime)); - } - - Iterator iterator = queue.iterator(); - while(iterator.hasNext()) { - CompStatistics compStatistics = iterator.next(); - System.out.println(compStatistics.getComponentClazzName() + " " + compStatistics.getTimeSpent()); - } - } -} diff --git a/liteflow-test-report/.gitignore b/liteflow-test-report/.gitignore deleted file mode 100644 index e19921afc..000000000 --- a/liteflow-test-report/.gitignore +++ /dev/null @@ -1,83 +0,0 @@ -# Compiled source # -################### -*.com -*.class -*.dll -*.exe -*.o -*.so - - -# Packages # -############ -# it's better to unpack these files and commit the raw source -# git has its own built in compression methods -*.7z -*.dmg -*.gz -*.iso -*.jar -*.rar -*.tar -*.zip -*.war -*.del -*.pmd -.tern-project - - -# Logs and databases # -###################### -*.log -*.log.* -# OS generated files # -###################### -.DS_Store* -ehthumbs.db -Icon? -Thumbs.db - - -# Editor Files # -################ -*~ -*.swp - - -# Gradle Files # -################ -.gradle - - -# Build output directies -/target -*/target -/build -*/build - - -# IntelliJ specific files/directories -out -.idea -*.ipr -*.iws -*.iml -atlassian-ide-plugin.xml - - -# Eclipse specific files/directories -.classpath -.project -.settings -.metadata -.myeclipse - - -# NetBeans specific files/directories -.nbattrs - -*.mymetadata -/logs -*/logs - -/payClear-timer/.tern-project diff --git a/liteflow-test-report/pom.xml b/liteflow-test-report/pom.xml deleted file mode 100644 index e8950a8be..000000000 --- a/liteflow-test-report/pom.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - liteflow - com.yomahub - 2.5.0-SNAPSHOT - - 4.0.0 - - liteflow-test-report - Test rate statistics aggregation, no actual working code. - - - true - true - - - - ${project.groupId} - liteflow-core - ${project.version} - - - ${project.groupId} - liteflow-spring-boot-starter - ${project.version} - - - - - - - org.jacoco - jacoco-maven-plugin - 0.8.6 - - - pre-unit-test - - prepare-agent - - - - post-unit-test - test - - report-aggregate - - - ${basedir}/../target/site/jacoco - - - - - - - \ No newline at end of file diff --git a/pom.xml b/pom.xml index 30630e4ab..a5a22648b 100644 --- a/pom.xml +++ b/pom.xml @@ -205,29 +205,6 @@ - - org.jacoco - jacoco-maven-plugin - 0.8.6 - - - pre-unit-test - - prepare-agent - - - - post-unit-test - test - - report-aggregate - - - ${basedir}/../target/site/jacoco - - - - @@ -237,7 +214,6 @@ liteflow-test liteflow-test-springboot liteflow-test-spring - liteflow-test-report