Skip to content

Commit

Permalink
[improve][ci] Add new CI unit test group "Broker Group 4" with cluste…
Browse files Browse the repository at this point in the history
…r migration tests (#21391)
  • Loading branch information
lhotari committed Oct 18, 2023
1 parent a9d5d25 commit e2c6c08
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/pulsar-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ jobs:
group: BROKER_GROUP_2
- name: Brokers - Broker Group 3
group: BROKER_GROUP_3
- name: Brokers - Broker Group 4
group: BROKER_GROUP_4
- name: Brokers - Client Api
group: BROKER_CLIENT_API
- name: Brokers - Client Impl
Expand Down
4 changes: 4 additions & 0 deletions build/run_unit_group.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ function test_group_broker_group_3() {
mvn_test -pl pulsar-broker -Dgroups='broker-admin'
}

function test_group_broker_group_4() {
mvn_test -pl pulsar-broker -Dgroups='cluster-migration'
}

function test_group_broker_client_api() {
mvn_test -pl pulsar-broker -Dgroups='broker-api'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;

@Test(groups = "broker")
@Test(groups = "cluster-migration")
public class ClusterMigrationTest {

private static final Logger log = LoggerFactory.getLogger(ClusterMigrationTest.class);
Expand Down

0 comments on commit e2c6c08

Please sign in to comment.