Repository navigation
Commit bf87c51
authored
fix(tests): cross the large-array threshold with 64 wide rows instead of 120k (#8939)
The durable-manifest test built 120,000 small rows (~16 MB). Compaction
walks every element (a promise, Object.entries and JSON.stringify per row
and per field), so the test ran 575-1522 ms on healthy CI runners and
10.6 s on a contended one, timing out. 64 rows whose payloads sum to
LARGE_VALUE_THRESHOLD_BYTES cross the same threshold with the same
assertions; the 9 MB string tests beside it run in ~50 ms.1 parent c55698a commit bf87c51
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
172 | 172 | | |
173 | 173 | | |
174 | 174 | | |
175 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
176 | 179 | | |
177 | 180 | | |
178 | 181 | | |
| |||
820 | 823 | | |
821 | 824 | | |
822 | 825 | | |
| 826 | + | |
| 827 | + | |
823 | 828 | | |
824 | 829 | | |
825 | | - | |
| 830 | + | |
826 | 831 | | |
827 | | - | |
| 832 | + | |
828 | 833 | | |
829 | 834 | | |
830 | 835 | | |
| |||
846 | 851 | | |
847 | 852 | | |
848 | 853 | | |
849 | | - | |
| 854 | + | |
850 | 855 | | |
851 | 856 | | |
852 | 857 | | |
| |||
0 commit comments