Skip to content

Commit 67a0d5a

Browse files
committed
ci: widen windows demo watch budget
1 parent 9304493 commit 67a0d5a

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/e2e-watch.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ jobs:
191191
timeout_minutes: 60
192192
watch_timeout_ms: '420000'
193193
watch_poll_ms: '40'
194+
watch_max_plugin_process_ms: '30000'
194195
watch_command_timeout_ms: '1500000'
195196
- os: windows-latest
196197
runner_label: windows
@@ -381,7 +382,7 @@ jobs:
381382
timeout_minutes: 180
382383
watch_timeout_ms: '1200000'
383384
watch_poll_ms: '40'
384-
watch_max_plugin_process_ms: '15000'
385+
watch_max_plugin_process_ms: '30000'
385386
watch_command_timeout_ms: '9000000'
386387
- os: macos-latest
387388
runner_label: macos
@@ -439,7 +440,7 @@ jobs:
439440
timeout_minutes: 150
440441
watch_timeout_ms: '540000'
441442
watch_poll_ms: '40'
442-
watch_max_plugin_process_ms: '15000'
443+
watch_max_plugin_process_ms: '30000'
443444
watch_command_timeout_ms: '7200000'
444445
- os: macos-latest
445446
runner_label: macos

packages/weapp-tailwindcss/test/ci/workflows.test.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ describe('e2e watch workflow', () => {
278278
round_profile: 'default',
279279
timeout_minutes: 60,
280280
watch_timeout_ms: '420000',
281+
watch_max_plugin_process_ms: '30000',
281282
watch_command_timeout_ms: '1500000',
282283
},
283284
{
@@ -399,7 +400,7 @@ describe('e2e watch workflow', () => {
399400
round_profile: 'default',
400401
timeout_minutes: 150,
401402
watch_timeout_ms: '540000',
402-
watch_max_plugin_process_ms: '15000',
403+
watch_max_plugin_process_ms: '30000',
403404
watch_command_timeout_ms: '7200000',
404405
}))
405406
expect(nightlyRows).toContainEqual(expect.objectContaining({
@@ -419,7 +420,7 @@ describe('e2e watch workflow', () => {
419420
round_profile: 'default',
420421
timeout_minutes: 180,
421422
watch_timeout_ms: '1200000',
422-
watch_max_plugin_process_ms: '15000',
423+
watch_max_plugin_process_ms: '30000',
423424
watch_command_timeout_ms: '9000000',
424425
}))
425426
})
@@ -440,7 +441,7 @@ describe('e2e watch workflow', () => {
440441
expect(nightlyRunStep.env.E2E_WATCH_MAX_ATTEMPTS).toBe("${{ matrix.watch_max_attempts || '2' }}")
441442
})
442443

443-
it('keeps any explicit e2e watch plugin processing matrix budget within 15000ms', () => {
444+
it('keeps any explicit e2e watch plugin processing matrix budget within 30000ms', () => {
444445
const { workflow } = readWorkflow('e2e-watch.yml')
445446
const rows: Array<Record<string, unknown>> = [
446447
...workflow.jobs['pr-quick-gate'].strategy.matrix.include,
@@ -452,7 +453,7 @@ describe('e2e watch workflow', () => {
452453
if (budget == null) {
453454
continue
454455
}
455-
expect(Number(budget), `${row.runner_label}:${row.watch_case}:${row.round_profile}`).toBeLessThanOrEqual(15000)
456+
expect(Number(budget), `${row.runner_label}:${row.watch_case}:${row.round_profile}`).toBeLessThanOrEqual(30000)
456457
}
457458
})
458459

0 commit comments

Comments
 (0)