You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Message: "no operator group found that is managing this namespace"},
189
+
in: ipWithSteps,
188
190
},
189
191
{
190
-
// This checks that an installplan is marked as failed when multiple operator groups are present for the same namespace
192
+
// This checks that an installplan's status.Condition contains a condition with error message when multiple operator groups are present for the same namespace
191
193
testName: "HasSteps/TooManyOperatorGroups",
192
-
err: nil,
193
-
expectedPhase: v1alpha1.InstallPlanPhaseFailed,
194
+
err: fmt.Errorf("attenuated service account query failed - more than one operator group(s) are managing this namespace count=2"),
// This checks that an installplan is marked as failed when no service account is synced for the operator group, i.e the service account ref doesn't exist
215
+
// This checks that an installplan's status.Condition contains a condition with error message when no service account is synced for the operator group, i.e the service account ref doesn't exist
212
216
testName: "HasSteps/NonExistentServiceAccount",
213
-
err: nil,
214
-
expectedPhase: v1alpha1.InstallPlanPhaseFailed,
215
-
in: ipWithSteps,
217
+
err: fmt.Errorf("attenuated service account query failed - please make sure the service account exists. sa=sa1 operatorgroup=ns/og"),
0 commit comments