Skip to content

Commit

Permalink
ci: Fix flakiness of lnprototest on CI
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
vincenzopalazzo committed Jul 13, 2023
1 parent 2a7d14b commit eff160c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/prototest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit eff160c

Please sign in to comment.