issues
search
kevburnsjr
/
microcache
A non-standard HTTP cache implemented as Go middleware
MIT License
155
stars
5
forks
source link
Refactor tests for better thread safety
#11
Closed
kevburnsjr
closed
5 years ago
kevburnsjr
commented
5 years ago
Fixes race conditions resulting from direct access to internal monitor state.
Re-activates race flag for all tests
Replaces t.Log + t.Fail with t.Fatal
Defers cache stop in tests (for t.Fatal compatibility)