From eff160cbaed9f5fcd588390319152906f0e9ffdb Mon Sep 17 00:00:00 2001 From: Vincenzo Palazzo Date: Thu, 6 Jul 2023 19:43:38 +0200 Subject: [PATCH] ci: Fix flakiness of lnprototest on CI The lnprototest occasionally fails on our CI due to the timeout duration we set while waiting for cln to start up. This timeout is insufficient for machines like the ones used in the GitHub CI environment. To address this issue, this commit introduces the use of environment variables to increase the lnprototest timeout, ensuring sufficient time for cln to initialize. Changelog-None Signed-off-by: Vincenzo Palazzo --- .github/workflows/prototest.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/prototest.yaml b/.github/workflows/prototest.yaml index 5fb9479a7..c9940f66f 100644 --- a/.github/workflows/prototest.yaml +++ b/.github/workflows/prototest.yaml @@ -34,6 +34,7 @@ jobs: -e TEST_CMD="make check-protos" \ -e TEST_GROUP=1 \ -e TEST_GROUP_COUNT=1 \ + -e TIMEOUT=120 \ cln-ci-ubuntu - name: Upload Unit Test Results if: always()