]> Cypherpunks repositories - gostls13.git/commit
net/rpc: fix spurious panic in test
authorDmitriy Vyukov <dvyukov@google.com>
Fri, 17 Feb 2012 07:42:02 +0000 (11:42 +0400)
committerDmitriy Vyukov <dvyukov@google.com>
Fri, 17 Feb 2012 07:42:02 +0000 (11:42 +0400)
commit649f771b7b3538711bc8954c4a6f726d89c1226a
tree4536f5cb7911d0c68d9dd508f51754a66596ab1a
parentb8f465644cc075b742b8af2eea1e7362e6c38497
net/rpc: fix spurious panic in test
The panic happens if -benchtime flag is specified:
go test -bench=EndToEndAsyncHTTP -benchtime=120

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/5677075
src/pkg/net/rpc/server_test.go