mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-30 04:04:23 +01:00
itest: set individual test timeout to 6 minutes
This commit is contained in:
6
.github/actions/test-lspd/action.yaml
vendored
6
.github/actions/test-lspd/action.yaml
vendored
@@ -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 }} \
|
||||
|
||||
2
.github/workflows/integration_tests.yaml
vendored
2
.github/workflows/integration_tests.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user