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
There are some tests that require a time.Sleep() between actions. Some of these are due to legitimate races, e.g. in conn_test.go TestClose, starting and immediately stopping the connection never gives the connReader, connWriter, and mux goroutines to start. This is a corner-case, but the race is real.
This is further surfaced in NetConn, having to use a buffered channel for the reader (see code comment for full explanation).
The text was updated successfully, but these errors were encountered:
There are some tests that require a
time.Sleep()
between actions. Some of these are due to legitimate races, e.g. in conn_test.go TestClose, starting and immediately stopping the connection never gives the connReader, connWriter, and mux goroutines to start. This is a corner-case, but the race is real.This is further surfaced in NetConn, having to use a buffered channel for the reader (see code comment for full explanation).
The text was updated successfully, but these errors were encountered: