We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26df537 commit 48a3964Copy full SHA for 48a3964
test/e2e/aro.go
@@ -64,7 +64,14 @@ var _ = Describe("ARO Cluster", func() {
64
Expect(co.Spec.GenevaLogging).NotTo(BeNil())
65
66
By("verifying OperatorFlags are set and equivalent to latest defaults")
67
- Expect(co.Spec.OperatorFlags).To(BeEquivalentTo(operator.DefaultOperatorFlags()))
+ // Exclude dynamically set flags that are not part of defaults
68
+ actualFlags := make(map[string]string)
69
+ for k, v := range co.Spec.OperatorFlags {
70
+ if k != "aro.environment" { // Skip dynamic environment flag
71
+ actualFlags[k] = v
72
+ }
73
74
+ Expect(actualFlags).To(BeEquivalentTo(operator.DefaultOperatorFlags()))
75
76
By("verifying InternetChecker exists")
77
Expect(co.Spec.InternetChecker).NotTo(BeNil())
0 commit comments