]> Cypherpunks repositories - gostls13.git/commit
net: don't run TestTCPBig unconditionally
authorMikio Hara <mikioh.mikioh@gmail.com>
Wed, 16 Nov 2016 04:35:59 +0000 (13:35 +0900)
committerMikio Hara <mikioh.mikioh@gmail.com>
Wed, 16 Nov 2016 05:51:18 +0000 (05:51 +0000)
commitd338f2e1470227afcadde977f2f2ab07d65088db
treee55cd5d7cdf6d2bed15cd048fa14fc19a1064eb3
parent1f605175b0044d69ac2364c24f515344c9866fd6
net: don't run TestTCPBig unconditionally

The test requires tons of memory and results various failures, mainly
runtime errors and process termination by SIGKILL, caused by resource
exhaustion when the node under test doesn't have much resources.

This change makes use of -tcpbig flag to enable the test.

Change-Id: Id53fa5d88543e2e60ca9bb4f55a1914ccca844e1
Reviewed-on: https://go-review.googlesource.com/33254
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Mikio Hara <mikioh.mikioh@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/net/main_test.go
src/net/tcpsock_test.go