packer/rpc: Tests passing again
This commit is contained in:
parent
734b5da49e
commit
e10ede6134
|
@ -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")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue