mirror of
https://github.com/golang/go
synced 2024-11-22 02:14:40 -07:00
syslog: increase test timeout from 10ms to 100ms
Problem pointed out by rsc. R=rsc CC=golang-dev https://golang.org/cl/444041
This commit is contained in:
parent
11a218444f
commit
698bc461bf
@ -31,7 +31,7 @@ func startServer(done chan<- string) {
|
|||||||
log.Exitf("net.ListenPacket failed udp :0 %v", e)
|
log.Exitf("net.ListenPacket failed udp :0 %v", e)
|
||||||
}
|
}
|
||||||
serverAddr = c.LocalAddr().String()
|
serverAddr = c.LocalAddr().String()
|
||||||
c.SetReadTimeout(10e6) // 10ms
|
c.SetReadTimeout(100e6) // 100ms
|
||||||
go runSyslog(c, done)
|
go runSyslog(c, done)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user