1
0
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:
Christopher Wedgwood 2010-03-11 09:46:16 -08:00 committed by Russ Cox
parent 11a218444f
commit 698bc461bf

View File

@ -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)
} }