From 7dd74447cf70bef1ceef2867516136edeab238ed 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 +--- pom.xml | 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/pom.xml b/pom.xml index c1289c32107d0d..30df0250949641 100644 --- a/pom.xml +++ b/pom.xml @@ -1670,7 +1670,7 @@ flexible messaging model and an intuitive client API. org.apache.maven.plugins maven-surefire-plugin - ${testJacocoAgentArgument} -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=${testHeapDumpPath} -XX:+ExitOnOutOfMemoryError -Xmx2G -XX:+UseZGC + ${testJacocoAgentArgument} -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=${testHeapDumpPath} -XX:+ExitOnOutOfMemoryError -Xmx3G -Xms3G -XX:+UseZGC -Dpulsar.allocator.pooled=true -Dpulsar.allocator.leak_detection=Advanced -Dpulsar.allocator.exit_on_oom=false