Commit 52c52be
committed
test(copilot): declare the ratio-test expansion instead of carrying it
The compression-ratio case built a real 400 MiB string and deflated it
synchronously, costing the parallel test runner memory and CPU for no added
coverage. The guard reads the total the archive declares, so declaring the
expansion exercises the same ratio path with a few-hundred-byte fixture.
Still fails when the guard call is removed, and the file now runs in 286 ms
instead of seconds.
Caught by Greptile review.1 parent a917b14 commit 52c52be
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
147 | 151 | | |
148 | 152 | | |
149 | 153 | | |
150 | | - | |
| 154 | + | |
| 155 | + | |
151 | 156 | | |
152 | 157 | | |
153 | 158 | | |
| |||
0 commit comments