Commit f3e1c3c2 authored by mbaxter's avatar mbaxter Committed by GitHub

cannon: Increase timeout for slow tests (#13415)

parent 940c188e
......@@ -215,8 +215,12 @@ jobs:
name: Cannon Go 32-bit tests
command: |
export SKIP_SLOW_TESTS=<<parameters.skip_slow_tests>>
TIMEOUT="10m"
if [ "$SKIP_SLOW_TESTS" == "false" ]; then
TIMEOUT="30m"
fi
gotestsum --format=testname --junitfile=../tmp/test-results/cannon-32.xml --jsonfile=../tmp/testlogs/log-32.json \
-- -parallel=$(nproc) -coverpkg=github.com/ethereum-optimism/optimism/cannon/... -coverprofile=coverage-32.out ./...
-- -timeout=$TIMEOUT -parallel=$(nproc) -coverpkg=github.com/ethereum-optimism/optimism/cannon/... -coverprofile=coverage-32.out ./...
working_directory: cannon
- codecov/upload:
disable_search: true
......@@ -230,8 +234,12 @@ jobs:
name: Cannon Go 64-bit tests
command: |
export SKIP_SLOW_TESTS=<<parameters.skip_slow_tests>>
TIMEOUT="10m"
if [ "$SKIP_SLOW_TESTS" == "false" ]; then
TIMEOUT="30m"
fi
gotestsum --format=testname --junitfile=../tmp/test-results/cannon-64.xml --jsonfile=../tmp/testlogs/log-64.json \
-- --tags=cannon64 -parallel=$(nproc) -coverpkg=github.com/ethereum-optimism/optimism/cannon/... -coverprofile=coverage-64.out ./...
-- --tags=cannon64 -timeout=$TIMEOUT -parallel=$(nproc) -coverpkg=github.com/ethereum-optimism/optimism/cannon/... -coverprofile=coverage-64.out ./...
working_directory: cannon
- codecov/upload:
disable_search: true
......
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