From 99e6aebb88c8ea82c8b8d65261ce71f0ab8d36d8 Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Fri, 3 Nov 2023 13:07:55 +0200 Subject: [PATCH] [improve][ci] Move pulsar-metadata unit tests from OTHER to new METADATA group (#21511) --- .github/workflows/pulsar-ci.yaml | 2 ++ build/run_unit_group.sh | 4 ++++ pulsar-metadata/pom.xml | 16 ++++++++++++++++ 3 files changed, 22 insertions(+) diff --git a/.github/workflows/pulsar-ci.yaml b/.github/workflows/pulsar-ci.yaml index c8f2a0e894730..6652a2f306a84 100644 --- a/.github/workflows/pulsar-ci.yaml +++ b/.github/workflows/pulsar-ci.yaml @@ -261,6 +261,8 @@ jobs: group: PULSAR_IO_KAFKA_CONNECT - name: Pulsar Client group: CLIENT + - name: Pulsar Metadata + group: METADATA steps: - name: checkout diff --git a/build/run_unit_group.sh b/build/run_unit_group.sh index 17d0efeed9937..1331da26ced79 100755 --- a/build/run_unit_group.sh +++ b/build/run_unit_group.sh @@ -103,6 +103,10 @@ function test_group_client() { mvn_test -pl pulsar-client } +function test_group_metadata() { + mvn_test -pl pulsar-metadata +} + # prints summaries of failed tests to console # by using the targer/surefire-reports files # works only when testForkCount > 1 since that is when surefire will create reports for individual test classes diff --git a/pulsar-metadata/pom.xml b/pulsar-metadata/pom.xml index ac39594b1dd34..9403a5c0027d4 100644 --- a/pulsar-metadata/pom.xml +++ b/pulsar-metadata/pom.xml @@ -199,4 +199,20 @@ + + + skipTestsForUnitGroupOther + + + + org.apache.maven.plugins + maven-surefire-plugin + + true + + + + + +