Make tests wait longer between closing something and testing if the other end has closed

This commit is contained in:
Andy Wang 2020-10-18 15:52:36 +01:00
parent f8f02bfc43
commit a3cd5a4029
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ import (
)
const numConns = 200 // -race option limits the number of goroutines to 8192
const delayBeforeTestingConnClose = 500 * time.Millisecond
const delayBeforeTestingConnClose = 700 * time.Millisecond
func serveTCPEcho(l net.Listener) {
for {