This is an automated email from the ASF dual-hosted git repository.
penghui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new baab40bb696 [improve][CI] Add pulsar-client test group (#18298)
baab40bb696 is described below
commit baab40bb6965f58fc70b5135ebffef5926661cc1
Author: Lishen Yao <[email protected]>
AuthorDate: Thu Nov 3 20:52:28 2022 +0800
[improve][CI] Add pulsar-client test group (#18298)
---
.github/workflows/pulsar-ci.yaml | 2 ++
build/run_unit_group.sh | 8 +++++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/pulsar-ci.yaml b/.github/workflows/pulsar-ci.yaml
index 8e205298b14..c9f33807cc4 100644
--- a/.github/workflows/pulsar-ci.yaml
+++ b/.github/workflows/pulsar-ci.yaml
@@ -167,6 +167,8 @@ jobs:
group: PROXY
- name: Pulsar IO
group: PULSAR_IO
+ - name: Pulsar Client
+ group: CLIENT
steps:
- name: checkout
diff --git a/build/run_unit_group.sh b/build/run_unit_group.sh
index 1901c18d4b9..5084306dbf3 100755
--- a/build/run_unit_group.sh
+++ b/build/run_unit_group.sh
@@ -81,6 +81,10 @@ function test_group_broker_client_impl() {
mvn_test -pl pulsar-broker -Dgroups='broker-impl'
}
+function test_group_client() {
+ mvn_test -pl pulsar-client
+}
+
# 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
@@ -143,13 +147,11 @@ function test_group_other() {
mvn_test -pl managed-ledger -Dinclude='**/ManagedLedgerTest.java,
**/OffloadersCacheTest.java'
- mvn_test -pl pulsar-client -Dinclude='**/PrimitiveSchemaTest.java'
-
mvn_test -pl tiered-storage/jcloud
-Dinclude='**/BlobStoreManagedLedgerOffloaderTest.java'
echo "::endgroup::"
local modules_with_quarantined_tests=$(git grep -l '@Test.*"quarantine"' |
grep '/src/test/java/' | \
- awk -F '/src/test/java/' '{ print $1 }' | grep -v -E
'pulsar-broker|pulsar-proxy|pulsar-io|pulsar-sql' | sort | uniq | \
+ awk -F '/src/test/java/' '{ print $1 }' | grep -v -E
'pulsar-broker|pulsar-proxy|pulsar-io|pulsar-sql|pulsar-client' | sort | uniq |
\
perl -0777 -p -e 's/\n(\S)/,$1/g')
if [ -n "${modules_with_quarantined_tests}" ]; then
echo "::group::Running quarantined tests outside of pulsar-broker &
pulsar-proxy (if any)"