You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% go test -bench B .
--- FAIL: BenchmarkBindata
benchmark_test.go:47: open testdata/assets/sf-fzlmnmzwlrm7hq2x.tmp: permission denied
FAIL
exit status 1
FAIL github.com/kevinburke/go-bindata 0.793s
FAIL
Or, in a directory containing a go.mod:
go test github.com/kevinburke/go-bindata -bench B -run nope
--- FAIL: BenchmarkBindata
benchmark_test.go:47: open testdata/assets/sf-jwvtvw26u2y72aov.tmp: permission denied
FAIL
exit status 1
FAIL github.com/kevinburke/go-bindata 0.635s
FAIL
-run nope was specified above because of problems with other tests; this specific failure concerns running benchmarks, which is how I found this.
The text was updated successfully, but these errors were encountered:
dr2chase
added a commit
to dr2chase/go-bindata
that referenced
this issue
Oct 6, 2021
This is anti-recommended, and causes spurious failures when tests and run using Go modules because all the source code is checked out read-only ( https://golang.org/ref/mod#module-cache also golang/go#28386).
Failure, observed with read-only testdata:
Or, in a directory containing a
go.mod
:-run nope
was specified above because of problems with other tests; this specific failure concerns running benchmarks, which is how I found this.The text was updated successfully, but these errors were encountered: