Skip to content

v4.2.5

Compare
Choose a tag to compare
@Takumi2008 Takumi2008 released this 25 Apr 17:33
· 128 commits to master since this release
b3c1e97

This version introduces a mutex version of clock in a build tag called holster_test_mode. This allows you to pass the build tag when running tests in your project to prevent go from detecting a race condition when using clock.Freeze/Unfreeze.

ex:

go test -race -p 1 -tags holster_test_mode ./...