You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2020/09/28 12:26:45 UTC

[camel] 01/02: Implement the connection timeout work-around suggested to avoid connection timeout in gh action for master-pr-build.yml

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit ffb307b407c157c969ddc7eea6aafc354d9c0656
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Sep 28 14:23:12 2020 +0200

    Implement the connection timeout work-around suggested to avoid connection timeout in gh action for master-pr-build.yml
---
 .github/workflows/master-pr-build.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/master-pr-build.yml b/.github/workflows/master-pr-build.yml
index e498d16..6e13cd1 100644
--- a/.github/workflows/master-pr-build.yml
+++ b/.github/workflows/master-pr-build.yml
@@ -40,7 +40,7 @@ jobs:
         key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
         restore-keys: ${{ runner.os }}-m2
     - name: mvn sourcecheck
-      run: ./mvnw -V --no-transfer-progress -Psourcecheck -Dcheckstyle.failOnViolation=true -DskipTests checkstyle:checkstyle verify
+      run: ./mvnw -V -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 --no-transfer-progress -Psourcecheck -Dcheckstyle.failOnViolation=true -DskipTests checkstyle:checkstyle verify
     - name: Check if there are uncommited changes
       id: changes
       uses: bedlaj/has-changes-action@camel
@@ -49,4 +49,4 @@ jobs:
       run: |
         echo "Maven build will override some files, which are not commited as part of this PR. Please run maven build and commit generated sources."
         echo "${{ steps.changes.outputs.changes }}"
-        exit 1
\ No newline at end of file
+        exit 1