Commit 6f7a1db
committed
Fix util_test timeout caused by TestAddRangeClampBeyondMaxPosition
The old test called AddRange near kMaxPosition (0x7FFFFFFE80000000),
which required allocating ~2 billion internal bitmap slots and took
~180 seconds. CI killed the util_test binary before it finished.
Replace with a range entirely beyond kMaxPosition so clamping makes
the range empty — no allocation needed, completes in < 1 ms.1 parent 3c55027 commit 6f7a1db
1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
186 | 185 | | |
187 | 186 | | |
188 | 187 | | |
| |||
0 commit comments