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:
parent
338185dabb
commit
126911dcd2
@ -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")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user