go-proxyproto icon indicating copy to clipboard operation
go-proxyproto copied to clipboard

Tests goroutines call t.Fatalf

Open pires opened this issue 3 years ago • 0 comments

And go vet doesn't like it

Error: ./protocol_test.go:29:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:37:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:40:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:88:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:99:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:102:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:165:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:176:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:179:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:231:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:259:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:291:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:335:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:359:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:362:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:433:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:466:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:499:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:542:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:641:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:710:4: call to (*T).Fatalf from a non-test goroutine
Error: ./protocol_test.go:817:5: call to (*B).Fatalf from a non-test goroutine
Error: ./protocol_test.go:837:5: call to (*B).Fatalf from a non-test goroutine
Error: ./protocol_test.go:842:6: call to (*B).Fatalf from a non-test goroutine
Error: ./protocol_test.go:848:5: call to (*B).Fatalf from a non-test goroutine
Error: ./protocol_test.go:884:5: call to (*B).Fatalf from a non-test goroutine
Error: Process completed with exit code 2.

pires avatar Mar 05 '21 12:03 pires