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
{{ message }}
Repository navigation
internal/fuzz,testing: apparent deadlock in test_fuzz_fuzztime #49046
changed the title [-]internal/fuzz: apparent deadlock in test_fuzz_fuzztime[/-][+]internal/fuzz,testing: apparent deadlock in test_fuzz_fuzztime[/+]on Oct 18, 2021
This is an issue with the test. The point of the test is to make sure that test.timeout doesn't have an impact when fuzzing.
The test is setting a very small test.timeout of 10ms when fuzzing. The test is expecting an exit code of 0, but if the timeout of 10ms is reached before stopAlarm() is called (after all the tests, examples, and other fuzz targets have run), then the test will panic. Increasing the test.timeout should suffice to fix this. If it doesn't, then we can think more about how to deflake a bit better.
Activity
gopherbot commentedon Oct 18, 2021
Change https://golang.org/cl/356649 mentions this issue:
cmd/go: skip flaky fuzz tests[-]internal/fuzz: apparent deadlock in test_fuzz_fuzztime[/-][+]internal/fuzz,testing: apparent deadlock in test_fuzz_fuzztime[/+]cmd/go: skip flaky fuzz tests
katiehockman commentedon Oct 22, 2021
This is an issue with the test. The point of the test is to make sure that
test.timeoutdoesn't have an impact when fuzzing.The test is setting a very small
test.timeoutof 10ms when fuzzing. The test is expecting an exit code of 0, but if the timeout of 10ms is reached beforestopAlarm()is called (after all the tests, examples, and other fuzz targets have run), then the test will panic. Increasing thetest.timeoutshould suffice to fix this. If it doesn't, then we can think more about how to deflake a bit better.gopherbot commentedon Oct 22, 2021
Change https://golang.org/cl/358055 mentions this issue:
cmd/go/testdata/script: fix flaky test_fuzz_fuzztime testcmd/go/testdata/script: fix flaky test_fuzz_fuzztime test