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

Issue 8570043: Use IPv4 loopback in rpc test setup

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years ago by gz
Modified:
11 years ago
Reviewers:
mp+157854, dimitern, TheMue
Visibility:
Public.

Description

Use IPv4 loopback in rpc test setup The rpc tests fail on a machine with ipv6 disabled. Just using an ipv4 loopback address instead resolves the issue, and is how other test code is using net.Listen() as well. https://code.launchpad.net/~gz/juju-core/rpc_test_use_ipv4/+merge/157854 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : Use IPv4 loopback in rpc test setup #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
A [revision details] View 1 chunk +2 lines, -0 lines 0 comments Download
M rpc/rpc_test.go View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4
gz
Please take a look.
11 years ago (2013-04-09 12:14:57 UTC) #1
dimitern
LGTM
11 years ago (2013-04-09 12:16:15 UTC) #2
TheMue
LGTM
11 years ago (2013-04-09 12:20:31 UTC) #3
gz
11 years ago (2013-04-09 12:32:32 UTC) #4
*** Submitted:

Use IPv4 loopback in rpc test setup

The rpc tests fail on a machine with ipv6 disabled. Just using an
ipv4 loopback address instead resolves the issue, and is how other
test code is using net.Listen() as well.

R=dimitern, TheMue
CC=
https://codereview.appspot.com/8570043
Sign in to reply to this message.

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