Hello all
I've encountered two sets of tests that sometimes fail with -race.
# go test -race -short std
--- FAIL: TestFiles-42 (28.74 seconds)
printer_test.go:180: testdata/expressions.input: running too slowly
FAIL
FAIL go/printer 71.511s
The tests for
code.google.com/p/go.net/idna sometimes take more than 600s to run, which exceeds the default timeout. The culprit is TestPunycodeErrors.
"So I would suggest to either increase the timeout, reduce number of iterations under race detector, or exclude the test at all under race detector."
The idna stuff looks like a performance issue, which might be addressed by one of:
What is the best way to proceed? I would suggest skipping these tests when running under the race detector and opening an issue to investigate after Go 1.1?
Regards
Albert