From deec55089d4a297b05b4fb90990b3d3e0f1c8e2c Mon Sep 17 00:00:00 2001 From: Lari Hotari Date: Tue, 7 May 2024 11:38:52 +0300 Subject: [PATCH] Run AdminApiTransactionMultiBrokerTest in isolation since it requires a lot of memory --- build/run_unit_group.sh | 1 + .../broker/admin/v3/AdminApiTransactionMultiBrokerTest.java | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/run_unit_group.sh b/build/run_unit_group.sh index 351477aed1c92..8466edc334bca 100755 --- a/build/run_unit_group.sh +++ b/build/run_unit_group.sh @@ -85,6 +85,7 @@ function test_group_broker_group_2() { function test_group_broker_group_3() { mvn_test -pl pulsar-broker -Dgroups='broker-admin' + mvn_test -pl pulsar-broker -Dgroups='broker-admin-isolated' -DtestForkCount=1 -DtestReuseFork=false } function test_group_broker_group_4() { diff --git a/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/v3/AdminApiTransactionMultiBrokerTest.java b/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/v3/AdminApiTransactionMultiBrokerTest.java index e2f4a5abdb9e0..113937c2558d9 100644 --- a/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/v3/AdminApiTransactionMultiBrokerTest.java +++ b/pulsar-broker/src/test/java/org/apache/pulsar/broker/admin/v3/AdminApiTransactionMultiBrokerTest.java @@ -40,7 +40,7 @@ import org.testng.annotations.Test; @Slf4j -@Test(groups = "broker-admin") +@Test(groups = "broker-admin-isolated") public class AdminApiTransactionMultiBrokerTest extends TransactionTestBase { private static final int NUM_BROKERS = 16;