Closed
Description
#!watchflakes
default <- pkg == "golang.org/x/pkgsite/internal/middleware" && test == "TestCache"
Issue created automatically to collect these failures.
Example (log):
2024/03/26 15:37:41 Info: caching response of length 25 for /A
2024/03/26 15:37:42 Info: cache get("/A"): context timed out
2024/03/26 15:37:42 Info: caching response of length 25 for /A
2024/03/26 15:37:42 Debug: serving "/A" from cache
--- FAIL: TestCache (0.21s)
caching_test.go:156: [A is cached] GET returned status 403, want 200
caching_test.go:164: [A is cached] GET returned body 3, want 2
caching_test.go:182: [A is cached] CacheResultCount diff (-want +got):
map[bool]int{
- false: 2,
...
+ true: 1,
}
caching_test.go:182: [bypassing the cache] CacheResultCount diff (-want +got):
map[bool]int{
- false: 3,
+ false: 4,
- true: 2,
+ true: 1,
}
2024/03/26 15:37:42 Error: middleware.Panic: panic!
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done