Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(632)

Unified Diff: src/pkg/net/rpc/server_test.go

Issue 96910043: code review 96910043: testing: RunParallel and SetParallelism are misleading. (Closed)
Patch Set: diff -r 7f529f73708a http://code.google.com/p/go Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/net/http/serve_test.go ('k') | src/pkg/runtime/chan_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/net/rpc/server_test.go
===================================================================
--- a/src/pkg/net/rpc/server_test.go
+++ b/src/pkg/net/rpc/server_test.go
@@ -605,7 +605,7 @@
args := &Args{7, 8}
b.ResetTimer()
- b.RunParallel(func(pb *testing.PB) {
+ b.RunConcurrent(func(pb *testing.PB) {
reply := new(Reply)
for pb.Next() {
err := client.Call("Arith.Add", args, reply)
« no previous file with comments | « src/pkg/net/http/serve_test.go ('k') | src/pkg/runtime/chan_test.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b