lessons: a test that bounds a count of work is run at -cpu 1 too (39e4b9934)
This commit is contained in:
+10
@@ -431,6 +431,16 @@ and its failure message counts against what it compared.**
|
||||
the byte where the bodies part and what each side has there.
|
||||
- Seen 1× (2026-11-15).
|
||||
|
||||
**A test that bounds a count of work is run at -cpu 1 too.**
|
||||
- 9dcec6751 (11-16) bounded the request archive's LISTs at about 45 for
|
||||
200 calls and measured 39 on a many-core box. On one CPU every upload
|
||||
landed during a prune pass and ran another that listed the bucket
|
||||
again for nothing: 44 to 68 LISTs, red on macOS CI at 50f7a8e01. The
|
||||
test was right; the code did the extra work (fixed in 39e4b9934).
|
||||
- Run such a test with `-count=10 -cpu 1,4` before calling its bound
|
||||
measured.
|
||||
- Seen 1× (2026-11-16).
|
||||
|
||||
**A full run gives the slow packages room.** `go test ./...` at the default
|
||||
10m timeout times out in internal/gateway (#2108), and under load in
|
||||
internal/provider and internal/agent. Use -timeout 45m, so "every package
|
||||
|
||||
Reference in New Issue
Block a user