This does not seem to affect benchmarks. I've tried:
go test -bench'='BenchmarkDB -timeout'='10s benchIndices_test.go
and it does not stop after 10 seconds. Am I using it incorrectly? I
haven't looked at the code myself, but someone on #go-nuts told me the
timeout flag does not have any effect on benchmarks, only tests.