1
0
mirror of https://github.com/golang/go synced 2024-11-25 13:07:57 -07:00

rpc: increase server_test timeout

These timeouts are breaking tests in very slow
systems every once in a while.  I've noticed
problems when compiling the Ubuntu packages for
arm, specifically.

R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/4291058
This commit is contained in:
Gustavo Niemeyer 2011-03-21 00:07:22 -03:00
parent 338185dabb
commit 126911dcd2

View File

@ -312,12 +312,12 @@ func (WriteFailCodec) WriteRequest(*Request, interface{}) os.Error {
} }
func (WriteFailCodec) ReadResponseHeader(*Response) os.Error { func (WriteFailCodec) ReadResponseHeader(*Response) os.Error {
time.Sleep(60e9) time.Sleep(120e9)
panic("unreachable") panic("unreachable")
} }
func (WriteFailCodec) ReadResponseBody(interface{}) os.Error { func (WriteFailCodec) ReadResponseBody(interface{}) os.Error {
time.Sleep(60e9) time.Sleep(120e9)
panic("unreachable") panic("unreachable")
} }