Skip to content

Commit

Permalink
fix: error summary changes on login failure test
Browse files Browse the repository at this point in the history
Check the error details, the error summary changes based on different
runners. Sometimes expected: "i/o timeout" vs "connect: connection refused"
  • Loading branch information
hmlanigan committed Sep 24, 2024
1 parent abd7e29 commit 0b07066
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/provider/provider_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ func TestProviderConfigureAddresses(t *testing.T) {
assert.Equal(t, confResp.Diagnostics.HasError(), true)
err := confResp.Diagnostics.Errors()[0]
assert.Equal(t, diag.SeverityError, err.Severity())
assert.Equal(t, "dial tcp 192.0.2.100:17070: i/o timeout", err.Summary())
assert.Equal(t, "Connection error, please check the controller_addresses property set on the provider", err.Detail())
}

Expand Down

0 comments on commit 0b07066

Please sign in to comment.