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
).To(Equal("cannot change coordinators: cluster is not up for long enough, cluster minimum uptime is 10.00 seconds but 300.00 seconds required for safe coordinator change"))
246
+
).To(Equal("cannot: change coordinators: cluster is not up for long enough, clusters last recovery was 10.00 seconds ago, wait until the last recovery was 300 seconds ago"))
).To(Equal("cannot change coordinators: cluster has 1 missing coordinators, cluster minimum uptime is 10.00 seconds but 600.00 seconds required for safe coordinator change"))
322
+
).To(Equal("cannot: change coordinators: cluster has 1 missing coordinators, clusters last recovery was 10.00 seconds ago, wait until the last recovery was 600 seconds ago"))
@@ -2734,7 +2733,6 @@ var _ = Describe("CanSafelyChangeCoordinators", func() {
2734
2733
baseStatus,
2735
2734
minimumUptimeForMissing,
2736
2735
minimumUptimeForUndesired,
2737
-
true,
2738
2736
)
2739
2737
Expect(err).NotTo(HaveOccurred())
2740
2738
})
@@ -2761,13 +2759,11 @@ var _ = Describe("CanSafelyChangeCoordinators", func() {
2761
2759
baseStatus,
2762
2760
minimumUptimeForMissing,
2763
2761
minimumUptimeForUndesired,
2764
-
true,
2765
2762
)
2766
2763
Expect(err).To(HaveOccurred())
2767
2764
Expect(
2768
2765
err.Error(),
2769
-
).To(Equal("cannot change coordinators: cluster is not up for long enough, cluster minimum uptime is 500.00 seconds but 600.00 seconds required for safe coordinator change"))
).To(Equal("cannot: change coordinators: cluster is not up for long enough, clusters last recovery was 500.00 seconds ago, wait until the last recovery was 600 seconds ago"))
2771
2767
})
2772
2768
2773
2769
It("should succeed when uptime meets requirements for excluded coordinators", func() {
@@ -2792,7 +2788,6 @@ var _ = Describe("CanSafelyChangeCoordinators", func() {
2792
2788
baseStatus,
2793
2789
minimumUptimeForMissing,
2794
2790
minimumUptimeForUndesired,
2795
-
true,
2796
2791
)
2797
2792
Expect(err).NotTo(HaveOccurred())
2798
2793
})
@@ -2809,7 +2804,6 @@ var _ = Describe("CanSafelyChangeCoordinators", func() {
2809
2804
baseStatus,
2810
2805
minimumUptimeForMissing,
2811
2806
minimumUptimeForUndesired,
2812
-
true,
2813
2807
)
2814
2808
Expect(err).NotTo(HaveOccurred())
2815
2809
})
@@ -2826,11 +2820,12 @@ var _ = Describe("CanSafelyChangeCoordinators", func() {
0 commit comments