From cd09bdfe522147c5cc9189fe99daa44cdd7b5849 Mon Sep 17 00:00:00 2001 From: nikhil-ctds Date: Tue, 5 Nov 2024 16:05:40 +0530 Subject: [PATCH] Increase pulsar-ci unit-tests timeout minutes and heap space --- .github/workflows/pulsar-ci.yaml | 4 +--- build/run_unit_group.sh | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pulsar-ci.yaml b/.github/workflows/pulsar-ci.yaml index 494ac771b04201..e1f1b4e07e074f 100644 --- a/.github/workflows/pulsar-ci.yaml +++ b/.github/workflows/pulsar-ci.yaml @@ -174,7 +174,7 @@ jobs: COLLECT_COVERAGE: "${{ needs.preconditions.outputs.collect_coverage }}" DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }} runs-on: ubuntu-22.04 - timeout-minutes: ${{ matrix.timeout || 60 }} + timeout-minutes: 90 needs: ['preconditions', 'build-and-license-check'] if: ${{ needs.preconditions.outputs.docs_only != 'true' }} strategy: @@ -183,7 +183,6 @@ jobs: include: - name: Other group: OTHER - timeout: 75 - name: Brokers - Broker Group 1 group: BROKER_GROUP_1 - name: Brokers - Broker Group 2 @@ -200,7 +199,6 @@ jobs: group: PROXY - name: Pulsar IO group: PULSAR_IO - timeout: 75 - name: Pulsar IO - Elastic Search group: PULSAR_IO_ELASTIC - name: Pulsar IO - Kafka Connect Adaptor diff --git a/build/run_unit_group.sh b/build/run_unit_group.sh index b6275903be6f09..e601339d151ea5 100755 --- a/build/run_unit_group.sh +++ b/build/run_unit_group.sh @@ -76,7 +76,7 @@ alias echo='{ [[ $- =~ .*x.* ]] && trace_enabled=1 || trace_enabled=0; set +x; } # Test Groups -- start -- function test_group_broker_group_1() { - mvn_test -pl pulsar-broker -Dgroups='broker' -DtestReuseFork=true + mvn_test -pl pulsar-broker -Dgroups='broker' -DtestReuseFork=true -Xms2g -Xmx2g } function test_group_broker_group_2() {