aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pkg/net/tcp_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/net/tcp_test.go b/src/pkg/net/tcp_test.go
index dedd41df94..c2a3bb3e11 100644
--- a/src/pkg/net/tcp_test.go
+++ b/src/pkg/net/tcp_test.go
@@ -330,7 +330,7 @@ func TestTCPConcurrentAccept(t *testing.T) {
}
func TestTCPReadWriteMallocs(t *testing.T) {
- maxMallocs := 0
+ maxMallocs := 10000
switch runtime.GOOS {
// Add other OSes if you know how many mallocs they do.
case "windows":