Fix pvc tests
@@ -192,7 +192,7 @@ var _ = Describe("ExtendedStatefulSet", func() {
})
It("Should append the voluMemanagement persistent volume claim when the replicas are increased twice", func() {
- Skip("this test takes too long, skipping until we fix it")
+
By("Creating an ExtendedStatefulSet")
ess, tearDown, err := env.CreateExtendedStatefulSet(env.Namespace, extendedStatefulSet)
Expect(err).NotTo(HaveOccurred())
@@ -212,7 +212,6 @@ var _ = Describe("ExtendedStatefulSet", func() {
Expect(err).NotTo(HaveOccurred())
By("Updating the ExtendedStatefulSet to v2")
- Expect(env.WaitForLogMsg(env.ObservedLogs, "Updating ExtendedStatefulSet")).To(Succeed())
ess, err = env.GetExtendedStatefulSet(env.Namespace, ess.GetName())
Expect(err).NotTo(HaveOccurred())
Expect(ess).NotTo(Equal(nil))
@@ -262,7 +261,6 @@ var _ = Describe("ExtendedStatefulSet", func() {
Expect(err).NotTo(HaveOccurred())
By("Updating the statefulSet to v3")
- Expect(env.WaitForLogMsg(env.ObservedLogs, "Updating ExtendedStatefulSet")).To(Succeed())
essUpdated, err = env.GetExtendedStatefulSet(env.Namespace, essUpdated.GetName())
Expect(err).NotTo(HaveOccurred())
Expect(essUpdated).NotTo(Equal(nil))
@@ -328,7 +326,6 @@ var _ = Describe("ExtendedStatefulSet", func() {
})
It("Should append the volumeManagement persistent volume claim when the replicas are decreased twice", func() {
- Skip("this test takes too long, skipping until we fix it")
By("Creating an ExtendedStatefulSet")
*extendedStatefulSet.Spec.Template.Spec.Replicas = 4
@@ -350,7 +347,6 @@ var _ = Describe("ExtendedStatefulSet", func() {
Expect(err).NotTo(HaveOccurred())
By("Updating the ExtendedStatefulSet to v2")
- Expect(env.WaitForLogMsg(env.ObservedLogs, "Updating ExtendedStatefulSet")).To(Succeed())
ess, err = env.GetExtendedStatefulSet(env.Namespace, ess.GetName())
Expect(err).NotTo(HaveOccurred())
Expect(ess).NotTo(Equal(nil))
@@ -414,7 +410,6 @@ var _ = Describe("ExtendedStatefulSet", func() {
Expect(err).NotTo(HaveOccurred())
By("Updating the statefulSet to v3")
- Expect(env.WaitForLogMsg(env.ObservedLogs, "Updating ExtendedStatefulSet")).To(Succeed())
essUpdated, err = env.GetExtendedStatefulSet(env.Namespace, essUpdated.GetName())
Expect(err).NotTo(HaveOccurred())
Expect(essUpdated).NotTo(Equal(nil))
