@@ -116,8 +116,8 @@ var _ = Describe("Reconcile Test", func() {
116
116
cond := apimeta .FindStatusCondition (operator .Status .Conditions , operatorsv1alpha1 .TypeReady )
117
117
Expect (cond ).NotTo (BeNil ())
118
118
Expect (cond .Status ).To (Equal (metav1 .ConditionTrue ))
119
- Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonResolutionSucceeded ))
120
- Expect (cond .Message ).To (Equal ("resolution was successful" ))
119
+ Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonInstallationSucceeded ))
120
+ Expect (cond .Message ).To (Equal ("install was successful" ))
121
121
})
122
122
})
123
123
})
@@ -181,8 +181,8 @@ var _ = Describe("Reconcile Test", func() {
181
181
cond := apimeta .FindStatusCondition (operator .Status .Conditions , operatorsv1alpha1 .TypeReady )
182
182
Expect (cond ).NotTo (BeNil ())
183
183
Expect (cond .Status ).To (Equal (metav1 .ConditionTrue ))
184
- Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonResolutionSucceeded ))
185
- Expect (cond .Message ).To (Equal ("resolution was successful" ))
184
+ Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonInstallationSucceeded ))
185
+ Expect (cond .Message ).To (Equal ("install was successful" ))
186
186
})
187
187
})
188
188
})
@@ -231,8 +231,8 @@ var _ = Describe("Reconcile Test", func() {
231
231
cond := apimeta .FindStatusCondition (operator .Status .Conditions , operatorsv1alpha1 .TypeReady )
232
232
Expect (cond ).NotTo (BeNil ())
233
233
Expect (cond .Status ).To (Equal (metav1 .ConditionTrue ))
234
- Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonResolutionSucceeded ))
235
- Expect (cond .Message ).To (Equal ("resolution was successful" ))
234
+ Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonInstallationSucceeded ))
235
+ Expect (cond .Message ).To (Equal ("install was successful" ))
236
236
})
237
237
238
238
})
@@ -353,7 +353,7 @@ var _ = Describe("Reconcile Test", func() {
353
353
cond := apimeta .FindStatusCondition (op .Status .Conditions , operatorsv1alpha1 .TypeReady )
354
354
Expect (cond ).NotTo (BeNil ())
355
355
Expect (cond .Status ).To (Equal (metav1 .ConditionUnknown ))
356
- Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonResolutionSucceeded ))
356
+ Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonInstallationSucceeded ))
357
357
Expect (cond .Message ).To (ContainSubstring (`waiting for bundleDeployment` ))
358
358
})
359
359
@@ -452,8 +452,8 @@ var _ = Describe("Reconcile Test", func() {
452
452
cond := apimeta .FindStatusCondition (op .Status .Conditions , operatorsv1alpha1 .TypeReady )
453
453
Expect (cond ).NotTo (BeNil ())
454
454
Expect (cond .Status ).To (Equal (metav1 .ConditionTrue ))
455
- Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonResolutionSucceeded ))
456
- Expect (cond .Message ).To (ContainSubstring (`resolution was successful` ))
455
+ Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonInstallationSucceeded ))
456
+ Expect (cond .Message ).To (ContainSubstring (`install was successful` ))
457
457
})
458
458
459
459
It ("verify any other unknown status of bundledeployment" , func () {
@@ -492,7 +492,7 @@ var _ = Describe("Reconcile Test", func() {
492
492
cond := apimeta .FindStatusCondition (op .Status .Conditions , operatorsv1alpha1 .TypeReady )
493
493
Expect (cond ).NotTo (BeNil ())
494
494
Expect (cond .Status ).To (Equal (metav1 .ConditionUnknown ))
495
- Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonResolutionSucceeded ))
495
+ Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonInstallationSucceeded ))
496
496
Expect (cond .Message ).To (ContainSubstring (`waiting for rukpak to install bundleDeployment successfully` ))
497
497
})
498
498
@@ -525,7 +525,7 @@ var _ = Describe("Reconcile Test", func() {
525
525
cond := apimeta .FindStatusCondition (op .Status .Conditions , operatorsv1alpha1 .TypeReady )
526
526
Expect (cond ).NotTo (BeNil ())
527
527
Expect (cond .Status ).To (Equal (metav1 .ConditionUnknown ))
528
- Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonResolutionSucceeded ))
528
+ Expect (cond .Reason ).To (Equal (operatorsv1alpha1 .ReasonInstallationSucceeded ))
529
529
Expect (cond .Message ).To (ContainSubstring (`waiting for rukpak to install bundleDeployment successfully` ))
530
530
})
531
531
})
0 commit comments