See [1]: https://github.com/etcd-io/bbolt/commit/72c1660c13cb8cf0d590d91fb03625a68e53900f#diff-bc342dd6b7441ea82ac0a6367f21263a [2]: https://golang.org/doc/go1.13#testing
Note for [1] that it should possibly be os.Exit(m.Run()) instead to exit with proper return code if a test fails. Regards, Andreas Henriksson