Closed patrobinson closed 7 years ago
bolt.Open
returns an error because the db is still open after the first BenchmarkRun
call.
I have a lot of questions about why BenchmarkRun is opening the DB more than ocne but that doesn't seem like it's relevant to this issue. Thank you.
When executing an
Update()
within a benchmark test we receive a SIGSEGVEnvironment
Go: 1.8.1 OS: darwin BoltDB: v1.3.1 2f1ce7a837dcb8da3ec595b1dac9d0632f0f99e8
Stack trace
Code to replicate
main.go
main_test.go
Running the program itself doesn't trigger the crash, but
go test -bench .
does.