Commit 6a871c54 authored by Matthew Slipper's avatar Matthew Slipper Committed by GitHub

ci: Lower no output timeout by default (#13039)

Most of the time there's no output from our Go tests, it means there's a bug. Lowering the timeout here will reduce the amount of time we spend waiting for jobs to fail. For long-running tests like fault proofs, the value is configured at 20m since those tests take longer.
parent ec45fa68
...@@ -876,6 +876,7 @@ jobs: ...@@ -876,6 +876,7 @@ jobs:
at: "." at: "."
- run: - run:
name: run tests name: run tests
no_output_timeout: 5m
command: | command: |
mkdir -p ./tmp/test-results && mkdir -p ./tmp/testlogs mkdir -p ./tmp/test-results && mkdir -p ./tmp/testlogs
...@@ -936,6 +937,10 @@ jobs: ...@@ -936,6 +937,10 @@ jobs:
description: Indicates that slow tests should be skipped description: Indicates that slow tests should be skipped
type: boolean type: boolean
default: false default: false
no_output_timeout:
description: Timeout for running tests
type: string
default: 5m
machine: true machine: true
resource_class: <<parameters.resource_class>> resource_class: <<parameters.resource_class>>
steps: steps:
...@@ -955,7 +960,7 @@ jobs: ...@@ -955,7 +960,7 @@ jobs:
command: go tool dist list | grep mips command: go tool dist list | grep mips
- run: - run:
name: run tests name: run tests
no_output_timeout: 20m no_output_timeout: <<parameters.no_output_timeout>>
command: | command: |
mkdir -p ./tmp/testlogs mkdir -p ./tmp/testlogs
mkdir -p ./tmp/test-results mkdir -p ./tmp/test-results
...@@ -1635,6 +1640,7 @@ workflows: ...@@ -1635,6 +1640,7 @@ workflows:
module: op-e2e module: op-e2e
target: test-cannon target: test-cannon
notify: true notify: true
no_output_timeout: 20m
mentions: "@proofs-team" mentions: "@proofs-team"
resource_class: ethereum-optimism/latitude-fps-1 resource_class: ethereum-optimism/latitude-fps-1
requires: requires:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment