Commit 301df74
committed
test(sync): bump flushWatchSetup ceiling 50 -> 250 to end whack-a-mole
The per-test bounded wait loops in the previous two commits only patched
the two flaky call sites we had already seen. Another sibling test in
the same describe block ("reloads sync config when .deepl-sync.yaml is
one of the changed files") surfaced with the identical TypeError on
Node 22 CI immediately after.
Raise the helper's iteration budget at the source instead of adding a
third bounded loop. Each round is two zero-work awaits (sub-microsecond),
so 250 has negligible cost but absorbs the Node 22 + CI worker-contention
tail that was pushing the setup chain past 50. Tests still fail loudly
if setup never completes — the safety ceiling is just larger. The
earlier bounded loops stay in place as belt-and-suspenders and as
diagnostic breadcrumbs (they surface a clear length assertion rather
than a misleading TypeError).1 parent a5e2fd9 commit 301df74
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
794 | 794 | | |
795 | 795 | | |
796 | 796 | | |
797 | | - | |
798 | | - | |
799 | | - | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
800 | 801 | | |
801 | | - | |
| 802 | + | |
802 | 803 | | |
803 | 804 | | |
804 | 805 | | |
| |||
0 commit comments