From 608c5adce570a7607a8b8f0459b0929184f06e1b Mon Sep 17 00:00:00 2001 From: VGalaxies Date: Thu, 12 Oct 2023 13:46:16 +0800 Subject: [PATCH] chore: move pd service tests back package org.apache.hugegraph.pd.boot does not exist --- .github/workflows/pd-store.yml | 2 +- .../src/test}/java/org/apache/hugegraph/pd/live/PDServer0.java | 0 .../src/test}/java/org/apache/hugegraph/pd/live/PDServer1.java | 0 .../src/test}/java/org/apache/hugegraph/pd/live/PDServer2.java | 0 .../src/test}/java/org/apache/hugegraph/pd/live/PDServer3.java | 0 .../src/test}/resources/application-server0.yml | 0 .../src/test}/resources/application-server1.yml | 0 .../src/test}/resources/application-server2.yml | 0 .../src/test}/resources/application-server3.yml | 0 .../src/main => hg-pd-service/src/test}/resources/banner.txt | 0 .../src/main => hg-pd-service/src/test}/resources/log4j2.xml | 0 11 files changed, 1 insertion(+), 1 deletion(-) rename hugegraph-pd/{hg-pd-test/src/main => hg-pd-service/src/test}/java/org/apache/hugegraph/pd/live/PDServer0.java (100%) rename hugegraph-pd/{hg-pd-test/src/main => hg-pd-service/src/test}/java/org/apache/hugegraph/pd/live/PDServer1.java (100%) rename hugegraph-pd/{hg-pd-test/src/main => hg-pd-service/src/test}/java/org/apache/hugegraph/pd/live/PDServer2.java (100%) rename hugegraph-pd/{hg-pd-test/src/main => hg-pd-service/src/test}/java/org/apache/hugegraph/pd/live/PDServer3.java (100%) rename hugegraph-pd/{hg-pd-test/src/main => hg-pd-service/src/test}/resources/application-server0.yml (100%) rename hugegraph-pd/{hg-pd-test/src/main => hg-pd-service/src/test}/resources/application-server1.yml (100%) rename hugegraph-pd/{hg-pd-test/src/main => hg-pd-service/src/test}/resources/application-server2.yml (100%) rename hugegraph-pd/{hg-pd-test/src/main => hg-pd-service/src/test}/resources/application-server3.yml (100%) rename hugegraph-pd/{hg-pd-test/src/main => hg-pd-service/src/test}/resources/banner.txt (100%) rename hugegraph-pd/{hg-pd-test/src/main => hg-pd-service/src/test}/resources/log4j2.xml (100%) diff --git a/.github/workflows/pd-store.yml b/.github/workflows/pd-store.yml index 773c9b553d..ca02fcb442 100644 --- a/.github/workflows/pd-store.yml +++ b/.github/workflows/pd-store.yml @@ -61,7 +61,7 @@ jobs: - name: Run store test run: | - mvn test -pl hg-store-test/hg-store-client -am -P store-client-test + mvn test -pl hg-store-test/hg-store-test -am -P store-client-test - name: Run unit test run: | diff --git a/hugegraph-pd/hg-pd-test/src/main/java/org/apache/hugegraph/pd/live/PDServer0.java b/hugegraph-pd/hg-pd-service/src/test/java/org/apache/hugegraph/pd/live/PDServer0.java similarity index 100% rename from hugegraph-pd/hg-pd-test/src/main/java/org/apache/hugegraph/pd/live/PDServer0.java rename to hugegraph-pd/hg-pd-service/src/test/java/org/apache/hugegraph/pd/live/PDServer0.java diff --git a/hugegraph-pd/hg-pd-test/src/main/java/org/apache/hugegraph/pd/live/PDServer1.java b/hugegraph-pd/hg-pd-service/src/test/java/org/apache/hugegraph/pd/live/PDServer1.java similarity index 100% rename from hugegraph-pd/hg-pd-test/src/main/java/org/apache/hugegraph/pd/live/PDServer1.java rename to hugegraph-pd/hg-pd-service/src/test/java/org/apache/hugegraph/pd/live/PDServer1.java diff --git a/hugegraph-pd/hg-pd-test/src/main/java/org/apache/hugegraph/pd/live/PDServer2.java b/hugegraph-pd/hg-pd-service/src/test/java/org/apache/hugegraph/pd/live/PDServer2.java similarity index 100% rename from hugegraph-pd/hg-pd-test/src/main/java/org/apache/hugegraph/pd/live/PDServer2.java rename to hugegraph-pd/hg-pd-service/src/test/java/org/apache/hugegraph/pd/live/PDServer2.java diff --git a/hugegraph-pd/hg-pd-test/src/main/java/org/apache/hugegraph/pd/live/PDServer3.java b/hugegraph-pd/hg-pd-service/src/test/java/org/apache/hugegraph/pd/live/PDServer3.java similarity index 100% rename from hugegraph-pd/hg-pd-test/src/main/java/org/apache/hugegraph/pd/live/PDServer3.java rename to hugegraph-pd/hg-pd-service/src/test/java/org/apache/hugegraph/pd/live/PDServer3.java diff --git a/hugegraph-pd/hg-pd-test/src/main/resources/application-server0.yml b/hugegraph-pd/hg-pd-service/src/test/resources/application-server0.yml similarity index 100% rename from hugegraph-pd/hg-pd-test/src/main/resources/application-server0.yml rename to hugegraph-pd/hg-pd-service/src/test/resources/application-server0.yml diff --git a/hugegraph-pd/hg-pd-test/src/main/resources/application-server1.yml b/hugegraph-pd/hg-pd-service/src/test/resources/application-server1.yml similarity index 100% rename from hugegraph-pd/hg-pd-test/src/main/resources/application-server1.yml rename to hugegraph-pd/hg-pd-service/src/test/resources/application-server1.yml diff --git a/hugegraph-pd/hg-pd-test/src/main/resources/application-server2.yml b/hugegraph-pd/hg-pd-service/src/test/resources/application-server2.yml similarity index 100% rename from hugegraph-pd/hg-pd-test/src/main/resources/application-server2.yml rename to hugegraph-pd/hg-pd-service/src/test/resources/application-server2.yml diff --git a/hugegraph-pd/hg-pd-test/src/main/resources/application-server3.yml b/hugegraph-pd/hg-pd-service/src/test/resources/application-server3.yml similarity index 100% rename from hugegraph-pd/hg-pd-test/src/main/resources/application-server3.yml rename to hugegraph-pd/hg-pd-service/src/test/resources/application-server3.yml diff --git a/hugegraph-pd/hg-pd-test/src/main/resources/banner.txt b/hugegraph-pd/hg-pd-service/src/test/resources/banner.txt similarity index 100% rename from hugegraph-pd/hg-pd-test/src/main/resources/banner.txt rename to hugegraph-pd/hg-pd-service/src/test/resources/banner.txt diff --git a/hugegraph-pd/hg-pd-test/src/main/resources/log4j2.xml b/hugegraph-pd/hg-pd-service/src/test/resources/log4j2.xml similarity index 100% rename from hugegraph-pd/hg-pd-test/src/main/resources/log4j2.xml rename to hugegraph-pd/hg-pd-service/src/test/resources/log4j2.xml