Skip to content

Commit ededd08

Browse files
authored
Merge pull request kubernetes#95676 from jdef/patch-1
fix "forbidden" test flakes
2 parents ffb233f + 1a12c80 commit ededd08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/apimachinery/aggregator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ func TestSampleAPIServer(f *framework.Framework, aggrclient *aggregatorclient.Cl
375375
if !ok {
376376
return false, err
377377
}
378-
if status.Status().Code == 503 {
378+
if status.Status().Code == 403 || status.Status().Code == 503 {
379379
return false, nil
380380
}
381381
if status.Status().Code == 404 && strings.HasPrefix(err.Error(), "the server could not find the requested resource") {

0 commit comments

Comments
 (0)