Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
335c5db7
Commit
335c5db7
authored
Dec 23, 2011
by
Robert Hencke
Committed by
Mikio Hara
Dec 23, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
net/rpc: trivial test cleanup
R=golang-dev, mikioh.mikioh CC=golang-dev
https://golang.org/cl/5498066
parent
cf506f6e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
server_test.go
src/pkg/net/rpc/server_test.go
+2
-3
No files found.
src/pkg/net/rpc/server_test.go
View file @
335c5db7
...
...
@@ -498,8 +498,7 @@ func benchmarkEndToEnd(dial func() (*Client, error), b *testing.B) {
once
.
Do
(
startServer
)
client
,
err
:=
dial
()
if
err
!=
nil
{
fmt
.
Println
(
"error dialing"
,
err
)
return
b
.
Fatal
(
"error dialing:"
,
err
)
}
// Synchronous calls
...
...
@@ -534,7 +533,7 @@ func benchmarkEndToEndAsync(dial func() (*Client, error), b *testing.B) {
once
.
Do
(
startServer
)
client
,
err
:=
dial
()
if
err
!=
nil
{
b
.
Fatal
f
(
"error dialing:"
,
err
)
b
.
Fatal
(
"error dialing:"
,
err
)
}
// Asynchronous calls
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment