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
It("should defer coordinator change and requeue with delay", func() {
244
+
Expect(requeue).NotTo(BeNil())
245
+
Expect(requeue.delayedRequeue).To(BeTrue())
246
+
Expect(requeue.curError).To(HaveOccurred())
247
+
Expect(
248
+
requeue.curError.Error(),
249
+
).To(Equal("cannot: change coordinators: cluster is not up for long enough, clusters last recovery was 10.00 seconds ago, waiting until the last recovery was 300 seconds ago"))
It("should defer coordinator change and requeue with delay", func() {
326
+
Expect(requeue).NotTo(BeNil())
327
+
Expect(requeue.delayedRequeue).To(BeTrue())
328
+
Expect(requeue.curError).To(HaveOccurred())
329
+
Expect(
330
+
requeue.curError.Error(),
331
+
).To(Equal("cannot: change coordinators: cluster has 1 missing coordinators, clusters last recovery was 10.00 seconds ago, waiting until the last recovery was 600 seconds ago"))
Copy file name to clipboardExpand all lines: controllers/update_database_configuration_test.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -278,7 +278,7 @@ var _ = Describe("update_database_configuration", func() {
278
278
Expect(requeue).NotTo(BeNil())
279
279
Expect(
280
280
requeue.message,
281
-
).To(Equal("Configuration change is not safe: clusters last recovery was 0.10 seconds ago, wait until the last recovery was 60 seconds ago, will retry"))
281
+
).To(Equal("Configuration change is not safe: cannot: change configuration, clusters last recovery was 0.10 seconds ago, waiting until the last recovery was 60 seconds ago, will retry"))
0 commit comments