From bb203c2344e3cad888784f960ffff54a56e1f762 Mon Sep 17 00:00:00 2001 From: Jared Harper Date: Wed, 31 Jul 2024 15:38:45 -0700 Subject: [PATCH] oops --- internal/host/azure/azure_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/host/azure/azure_test.go b/internal/host/azure/azure_test.go index 0486830a..05b239b1 100644 --- a/internal/host/azure/azure_test.go +++ b/internal/host/azure/azure_test.go @@ -20,7 +20,6 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" "net/http" - "syscall" "testing" ) @@ -44,7 +43,7 @@ func TestQueryAzureNoHttpResponse(t *testing.T) { m, err := queryAzureIMDS("http://127.0.0.1:12345/asdf") require.Error(t, err) require.Nil(t, m) - require.True(t, errors.Is(err, syscall.ECONNREFUSED), "%+v", err) + require.True(t, errors.Is(err, testutils.ConnectionRefusedError), "%+v", err) require.Nil(t, m.ToPB()) }