Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…on-provider-azure into boot-diag
  • Loading branch information
hebelsan committed Mar 20, 2024
2 parents 9971488 + 4217bd3 commit 1e67f9e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/integration/infrastructure/infrastructure_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -546,12 +546,14 @@ var _ = Describe("Infrastructure tests", func() {
extensionsv1alpha1.InfrastructureResource,
10*time.Second,
30*time.Second,
30*time.Second,
60*time.Second,
nil,
)
var errorWithCode *gardencorev1beta1helper.ErrorWithCodes
Expect(errors.As(err, &errorWithCode)).To(BeTrue())
Expect(errorWithCode.Codes()).To(ContainElement(gardencorev1beta1.ErrorInfraUnauthenticated))
Expect(errorWithCode.Codes()).To(Or(
ContainElement(gardencorev1beta1.ErrorInfraUnauthorized),
ContainElement(gardencorev1beta1.ErrorInfraUnauthenticated)))
})
})
})
Expand Down

0 comments on commit 1e67f9e

Please sign in to comment.