#!watchflakes
post <- pkg == "net/http" && log ~ `WARNING: DATA RACE` && log ~ `net/http_test.testServerExpect`
自动创建的问题以收集这些故障。
示例( log ):
--- FAIL: TestTransportRequestWriteRoundTrip (0.00s)
--- FAIL: TestTransportRequestWriteRoundTrip/h2 (0.36s)
--- FAIL: TestTransportRequestWriteRoundTrip/h2/buffer,_length_-1 (0.05s)
testing.go:1465: race detected during execution of test
testing.go:1465: race detected during execution of test
--- FAIL: TestTransportRequestWriteRoundTrip/h1 (0.40s)
--- FAIL: TestTransportRequestWriteRoundTrip/h1/buffer,_length_-1 (0.04s)
testing.go:1465: race detected during execution of test
testing.go:1465: race detected during execution of test
4条答案
按热度按时间sqxo8psd1#
找到新的 Jmeter 板测试碎片:
2023-04-28 01:33 linux-amd64-race go@71ad46cd net/http.TestTransportRequestWriteRoundTrip ( log )
— watchflakes
42fyovps2#
https://go.dev/cl/490255提到了这个问题:
net/http: avoid leaking the writing goroutine
gmol16393#
Found new dashboard test flakes for:
2023-05-10 22:55 darwin-amd64-13 go@3d80d57c net/http.TestTransportRequestWriteRoundTrip ( log )
— watchflakes
qv7cva1a4#
找到了新的 Jmeter 板测试碎片:
2023-07-06 19:41 linux-amd64-race go@312920c0 net/http.TestOnlyWriteTimeout ( log )
2023-07-06 19:41 linux-amd64-race go@312920c0 net/http.TestTLSServerRejectHTTPRequests ( log )
2023-07-06 19:41 linux-amd64-race go@312920c0 net/http.TestIdentityResponse ( log )
— watchflakes