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
In the select lesson, it might be worth pointing out that defer slowServer.Close() in TestRacer() will take as long as the longest timeout. This is eluded to, but I immediately thought I had done something wrong since the test blocked for the amount of time of the slowest http response. On the upside, it was a good learning experience to figure it out.
P.S. These lessons are great. Thanks for putting this together.
The text was updated successfully, but these errors were encountered:
In the select lesson, it might be worth pointing out that
defer slowServer.Close()
inTestRacer()
will take as long as the longest timeout. This is eluded to, but I immediately thought I had done something wrong since the test blocked for the amount of time of the slowest http response. On the upside, it was a good learning experience to figure it out.P.S. These lessons are great. Thanks for putting this together.
The text was updated successfully, but these errors were encountered: