itest: set individual test timeout to 6 minutes

This commit is contained in:
Jesse de Wit
2024-01-05 10:33:19 +01:00
parent c96b96f8b3
commit 9242567cf1
2 changed files with 7 additions and 1 deletions

View File

@@ -22,6 +22,10 @@ inputs:
CLN_VERSION:
description: 'Core Lightning version.'
required: true
timeout:
description: 'test timeout'
required: false
default: 45m
runs:
using: 'composite'
steps:
@@ -113,7 +117,7 @@ runs:
- name: Test LSPD
run: |
go get github.com/breez/lspd/itest
go test -timeout 45m -v \
go test -timeout ${{ inputs.timeout || '45m' }} -v \
./itest \
-test.run \
${{ inputs.TESTRE }} \

View File

@@ -134,6 +134,7 @@ jobs:
CLIENT_REF: ${{ env.CLIENT_REF }}
GO_VERSION: ${{ env.GO_VERSION }}
CLN_VERSION: ${{ env.CLN_VERSION }}
timeout: 6m
run-lsps2-test:
runs-on: ubuntu-22.04
@@ -176,6 +177,7 @@ jobs:
CLIENT_REF: ${{ env.CLIENT_REF }}
GO_VERSION: ${{ env.GO_VERSION }}
CLN_VERSION: ${{ env.CLN_VERSION }}
timeout: 6m
run-unit-tests:
runs-on: ubuntu-22.04