Michael Poole created ARROW-7212: ------------------------------------ Summary: "go test -bench=8192 -run=. ./math" fails Key: ARROW-7212 URL: https://issues.apache.org/jira/browse/ARROW-7212 Project: Apache Arrow Issue Type: Bug Components: Go Affects Versions: 0.15.0 Environment: go version go1.13.4 linux/amd64 Reporter: Michael Poole
Starting at commit 699878dfc (ARROW-4081), "go test -bench=8192 -run=. ./math" fails: {noformat} % go test -bench=8192 -run=. ./math --- FAIL: BenchmarkFloat64Funcs_Sum_8192 float64_test.go:69: invalid memory size exp=0, got=67584 --- FAIL: BenchmarkInt64Funcs_Sum_8192 int64_test.go:69: invalid memory size exp=0, got=67584 --- FAIL: BenchmarkUint64Funcs_Sum_8192 uint64_test.go:69: invalid memory size exp=0, got=67584 FAIL exit status 1 FAIL github.com/apache/arrow/go/arrow/math 0.008s FAIL {noformat} Adding a call to {code:go} vec.Release(){code} at the end of the benchmark\{{.Name}}Funcs_Sum() template fixes this. -- This message was sent by Atlassian Jira (v8.3.4#803005)