Skip to content

Commit 6359080

Browse files
committed
fix: test failures
1 parent ece8aef commit 6359080

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

staging/src/k8s.io/legacy-cloud-providers/azure/retry/azure_error_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func TestGetError(t *testing.T) {
5454
{
5555
code: http.StatusBadRequest,
5656
expected: &Error{
57-
Retriable: true,
57+
Retriable: false,
5858
HTTPStatusCode: http.StatusBadRequest,
5959
RawError: fmt.Errorf("HTTP response: 400"),
6060
},
@@ -136,7 +136,7 @@ func TestGetStatusNotFoundAndForbiddenIgnoredError(t *testing.T) {
136136
{
137137
code: http.StatusBadRequest,
138138
expected: &Error{
139-
Retriable: true,
139+
Retriable: false,
140140
HTTPStatusCode: http.StatusBadRequest,
141141
RawError: fmt.Errorf("HTTP response: 400"),
142142
},
@@ -191,7 +191,7 @@ func TestShouldRetryHTTPRequest(t *testing.T) {
191191
}{
192192
{
193193
code: http.StatusBadRequest,
194-
expected: true,
194+
expected: false,
195195
},
196196
{
197197
code: http.StatusInternalServerError,

0 commit comments

Comments
 (0)