Commit 698bc461 authored by Christopher Wedgwood's avatar Christopher Wedgwood Committed by Russ Cox

syslog: increase test timeout from 10ms to 100ms

Problem pointed out by rsc.

R=rsc
CC=golang-dev
https://golang.org/cl/444041
parent 11a21844
...@@ -31,7 +31,7 @@ func startServer(done chan<- string) { ...@@ -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)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment