Skip to content

Commit 4c15d70

Browse files
committed
update duration/timeouts, add fromJSON to correct string parsing for job timeout
1 parent 41a4ab0 commit 4c15d70

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/nightly-throughput-stress.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,25 @@ on:
77
workflow_dispatch:
88
inputs:
99
duration:
10-
description: 'Test duration (e.g., 45m, 1h)'
10+
description: 'Test duration (e.g., 6h, 1h)'
1111
required: false
12-
default: '45m'
12+
default: '6h'
1313
type: string
1414
timeout:
1515
description: 'Scenario timeout (should always be 30m more than duration)'
1616
required: false
17-
default: '75m'
17+
default: '6h30m'
1818
type: string
1919
job_timeout_minutes:
2020
description: 'GitHub Actions job timeout in minutes'
2121
required: false
22-
default: 120
22+
default: 420
2323
type: number
2424

2525
env:
2626
# Workflow configuration
27-
TEST_DURATION: ${{ inputs.duration || '45m' }}
28-
TEST_TIMEOUT: ${{ inputs.timeout || '75m' }}
27+
TEST_DURATION: ${{ inputs.duration || vars.NIGHTLY_TEST_DURATION || '6h' }}
28+
TEST_TIMEOUT: ${{ inputs.timeout || vars.NIGHTLY_TEST_TIMEOUT || '6h30m' }}
2929

3030
# Logging and artifacts
3131
WORKER_LOG_DIR: /tmp/throughput-stress-logs
@@ -38,7 +38,7 @@ env:
3838
jobs:
3939
throughput-stress:
4040
runs-on: ubuntu-latest-4-cores
41-
timeout-minutes: ${{ inputs.job_timeout_minutes || 120 }}
41+
timeout-minutes: ${{ fromJSON(inputs.job_timeout_minutes || vars.NIGHTLY_JOB_TIMEOUT_MINUTES || 420) }}
4242

4343
steps:
4444
- name: Print test configuration
@@ -155,6 +155,7 @@ jobs:
155155
--option continue-as-new-after-iterations=3 \
156156
--option sleep-time=1s \
157157
--option visibility-count-timeout=5m \
158+
--option min-throughput-per-hour=1000 \
158159
2>&1 | tee $WORKER_LOG_DIR/scenario.log
159160
160161
SCENARIO_EXIT_CODE=$?

0 commit comments

Comments
 (0)