Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
swi-jared committed Jul 31, 2024
1 parent cd360f9 commit bb203c2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions internal/host/azure/azure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"net/http"
"syscall"
"testing"
)

Expand All @@ -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())
}

Expand Down

0 comments on commit bb203c2

Please sign in to comment.