Skip to content

Commit

Permalink
qa-tests: update test scheduling and timeouts (#11514)
Browse files Browse the repository at this point in the history
Change test scheduling and timeouts after Ottersync introduction.
Now we can execute tests more frequently due to the significant
reduction in test time.

Scheduled to run every night:
- tip-tracking
- snap-download
- sync-from-scratch for mainnet, minimal node

Scheduled to run on Sunday:
- sync-from-scratch for testnets, archive node
  • Loading branch information
mriccobene authored and somnathb1 committed Aug 15, 2024
1 parent ef80c93 commit f7a6612
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/qa-snap-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ name: QA - Snapshot Download

on:
schedule:
- cron: '0 5 * * 1-6' # Run every day at 05:00 AM UTC except Sunday
- cron: '0 0 * * 1-6' # Run every night at 00:00 AM UTC except Sunday
workflow_dispatch: # Run manually

jobs:
snap-download-test:
runs-on: self-hosted
timeout-minutes: 800
timeout-minutes: 500
env:
ERIGON_DATA_DIR: ${{ github.workspace }}/erigon_data
ERIGON_QA_PATH: /home/qarunner/erigon-qa
TOTAL_TIME_SECONDS: 43200 # 12 hours
TOTAL_TIME_SECONDS: 28800 # 8 hours
CHAIN: mainnet

steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/qa-sync-from-scratch-minimal-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@ name: QA - Sync from scratch (minimal node)

on:
schedule:
- cron: '0 0 * * 6' # Run on Saturday at 00:00 AM UTC
- cron: '0 0 * * *' # Run every night at 00:00 AM UTC
workflow_dispatch: # Run manually

jobs:
minimal-node-sync-from-scratch-test:
runs-on: self-hosted
timeout-minutes: 1500 # 25 hours
timeout-minutes: 360 # 6 hours
env:
ERIGON_DATA_DIR: ${{ github.workspace }}/erigon_data
ERIGON_QA_PATH: /home/qarunner/erigon-qa
TRACKING_TIME_SECONDS: 7200 # 2 hours
TOTAL_TIME_SECONDS: 86400 # 24 hours
TOTAL_TIME_SECONDS: 18000 # 5 hours
CHAIN: mainnet

steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/qa-sync-from-scratch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
jobs:
sync-from-scratch-test:
runs-on: self-hosted
timeout-minutes: 1100 # 18 hours plus 20 minutes
timeout-minutes: 740 # 12 hours plus 20 minutes
strategy:
fail-fast: false
matrix:
Expand All @@ -17,7 +17,7 @@ jobs:
ERIGON_DATA_DIR: ${{ github.workspace }}/erigon_data
ERIGON_QA_PATH: /home/qarunner/erigon-qa
TRACKING_TIME_SECONDS: 7200 # 2 hours
TOTAL_TIME_SECONDS: 57600 # 16 hours
TOTAL_TIME_SECONDS: 43200 # 12 hours
CHAIN: ${{ matrix.chain }}

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/qa-tip-tracking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: QA - Tip tracking

on:
schedule:
- cron: '0 0 * * 1-6' # Run every day at 00:00 AM UTC except Sunday
- cron: '0 0 * * 1-6' # Run every night at 00:00 AM UTC except Sunday
workflow_dispatch: # Run manually

jobs:
Expand Down

0 comments on commit f7a6612

Please sign in to comment.