From e10ede61343d99e306afd33bf8716cabc92c52e1 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 1 Jul 2013 10:44:12 -0700 Subject: [PATCH] packer/rpc: Tests passing again --- packer/rpc/port_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packer/rpc/port_test.go b/packer/rpc/port_test.go index 9c98ba5bb..dc0e0878a 100644 --- a/packer/rpc/port_test.go +++ b/packer/rpc/port_test.go @@ -16,7 +16,7 @@ func Test_netListenerInRange(t *testing.T) { assert := asserts.NewTestingAsserts(t, true) // 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() assert.Nil(err, "should be able to bind to port 10000")