packer/rpc: Tests passing again

This commit is contained in:
Mitchell Hashimoto 2013-07-01 10:44:12 -07:00
parent 734b5da49e
commit e10ede6134
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ func Test_netListenerInRange(t *testing.T) {
assert := asserts.NewTestingAsserts(t, true) assert := asserts.NewTestingAsserts(t, true)
// Open up port 10000 so that we take up a port // Open up port 10000 so that we take up a port
L1000, err := net.Listen("tcp", ":11000") L1000, err := net.Listen("tcp", "127.0.0.1:11000")
defer L1000.Close() defer L1000.Close()
assert.Nil(err, "should be able to bind to port 10000") assert.Nil(err, "should be able to bind to port 10000")