Skip to content

Commit

Permalink
test/e2e: relax checkPodAge condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ushitora-anqou committed Sep 12, 2024
1 parent a3520d2 commit c937fe8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,14 +323,14 @@ var _ = Describe("controller", Ordered, func() {
return checkPodAge("mastodon0", namespace, "web", 30*time.Second)
}).Should(Succeed())
Consistently(func() error {
return checkPodAge("mastodon0", namespace, "web", 90*time.Second)
}, "100s", "1s").Should(Succeed())
return checkPodAge("mastodon0", namespace, "web", 120*time.Second)
}, "130s", "1s").Should(Succeed())
Eventually(func() error {
return checkPodAge("mastodon0", namespace, "sidekiq", 30*time.Second)
}).Should(Succeed())
Consistently(func() error {
return checkPodAge("mastodon0", namespace, "sidekiq", 90*time.Second)
}, "100s", "1s").Should(Succeed())
return checkPodAge("mastodon0", namespace, "sidekiq", 120*time.Second)
}, "130s", "1s").Should(Succeed())

_, _, err = kubectl(nil, "delete", "-n", namespace, "mastodonserver", "mastodon0")
Expect(err).NotTo(HaveOccurred())
Expand Down

0 comments on commit c937fe8

Please sign in to comment.