commit | 475ce826b75f113aff2810f3d27cb861adee0caa | [log] [tgz] |
---|---|---|
author | Bryan C. Mills <bcmills@google.com> | Wed Feb 02 17:09:28 2022 -0500 |
committer | Bryan Mills <bcmills@google.com> | Thu Feb 03 05:57:46 2022 +0000 |
tree | 3e5fb6d81057dcf102aa1656765fefc9595c0482 | |
parent | d0a0606841937cd6dd1db7a95ebd9d6e7ad02d96 [diff] |
net: remove an arbitrary timeout in TestUDPReadSizeError Looking at the condition actually exercised by the test it seems unnecessary: assuming that the Write succeeds (checked earlier in the test), the Read must have a nonzero number of bytes available to read immediately. (That is not the case in TestUDPZeroByteBuffer, from which this test appears to have been derived.) Fixes #50870 Change-Id: Ia6040a2d5dc320f0b86ec9d6f6b91dc72e8f3b84 Reviewed-on: https://go-review.googlesource.com/c/go/+/382537 Trust: Bryan Mills <bcmills@google.com> Run-TryBot: Bryan Mills <bcmills@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines at https://golang.org/doc/contribute.
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.