@@ -444,7 +444,7 @@ func TestSendData_Small(t *testing.T) {
444444
445445func TestSendData_Large (t * testing.T ) {
446446 if testing .Short () {
447- t .Skip ("skipping slow test that times out on the race detector" )
447+ t .Skip ("skipping slow test that may time out on the race detector" )
448448 }
449449 client , server := testClientServer (t )
450450
@@ -520,7 +520,7 @@ func TestSendData_Large(t *testing.T) {
520520 errCh <- nil
521521 }()
522522
523- drainErrorsUntil (t , errCh , 2 , time .Second , "timeout" )
523+ drainErrorsUntil (t , errCh , 2 , 10 * time .Second , "timeout" )
524524}
525525
526526func TestGoAway (t * testing.T ) {
@@ -1129,7 +1129,7 @@ func (u *UnlimitedReader) Read(p []byte) (int, error) {
11291129
11301130func TestSendData_VeryLarge (t * testing.T ) {
11311131 if testing .Short () {
1132- t .Skip ("skipping slow test that times out on the race detector" )
1132+ t .Skip ("skipping slow test that may time out on the race detector" )
11331133 }
11341134 client , server := testClientServer (t )
11351135
@@ -1202,7 +1202,7 @@ func TestSendData_VeryLarge(t *testing.T) {
12021202 }
12031203
12041204 // With the race detector on, this test takes 3-4x longer than this timeout.
1205- drainErrorsUntil (t , errCh , workers * 2 , 20 * time .Second , "timeout" )
1205+ drainErrorsUntil (t , errCh , workers * 2 , 60 * time .Second , "timeout" )
12061206}
12071207
12081208func TestBacklogExceeded_Accept (t * testing.T ) {
0 commit comments