mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-05 04:06:37 +02:00
fix(test): make disables helper's pass 2 fail-fast (#7651)
Pass 2 was running every test tagged with a disabled feature to completion. For a busy tag like @feature:chat (12 tests) with the default 90s per-test timeout, that's 10+ minutes of expected failures piling up — ep_disable_chat's first PR #75 ran 14+ min before being cancelled. Pass 2 only needs *evidence* the feature is gone — one failing tagged test is enough. Add: --max-failures=1 stop on the first failure (~30s vs ~10min) --timeout=30000 cap any single test at 30s --retries=0 already there, but flagged: CI retry default (up to 5 with WITH_PLUGINS=1) would retry an "expected failure" multiple times. Worst case (first tagged test happens to pass): we wait for the second one to fail, ~60s. Still bounded. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
056ae7cd59
commit
6900767934