File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
staging/src/k8s.io/legacy-cloud-providers/azure/retry Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ func TestGetError(t *testing.T) {
54
54
{
55
55
code : http .StatusBadRequest ,
56
56
expected : & Error {
57
- Retriable : true ,
57
+ Retriable : false ,
58
58
HTTPStatusCode : http .StatusBadRequest ,
59
59
RawError : fmt .Errorf ("HTTP response: 400" ),
60
60
},
@@ -136,7 +136,7 @@ func TestGetStatusNotFoundAndForbiddenIgnoredError(t *testing.T) {
136
136
{
137
137
code : http .StatusBadRequest ,
138
138
expected : & Error {
139
- Retriable : true ,
139
+ Retriable : false ,
140
140
HTTPStatusCode : http .StatusBadRequest ,
141
141
RawError : fmt .Errorf ("HTTP response: 400" ),
142
142
},
@@ -191,7 +191,7 @@ func TestShouldRetryHTTPRequest(t *testing.T) {
191
191
}{
192
192
{
193
193
code : http .StatusBadRequest ,
194
- expected : true ,
194
+ expected : false ,
195
195
},
196
196
{
197
197
code : http .StatusInternalServerError ,
You can’t perform that action at this time.
0 commit comments