Skip to content

Commit

Permalink
Update event result
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <derek.nola@suse.com>
  • Loading branch information
dereknola committed Jan 4, 2023
1 parent d72ee56 commit 63438ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/startup/startup_int_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ var _ = Describe("startup tests", Ordered, func() {
}, "180s", "5s").Should(Succeed())
})
It("has the dummy pod not restarted", func() {
res, err := testutil.K3sCmd("kubectl get event -n kube-system --field-selector involvedObject.name=dummy")
Expect(err).ToNot(HaveOccurred())
Consistently(func(g Gomega) {
res, err := testutil.K3sCmd("kubectl get event -n kube-system --field-selector involvedObject.name=dummy")
g.Expect(err).ToNot(HaveOccurred())
g.Expect(res).NotTo(ContainSubstring("Pod sandbox changed, it will be killed and re-created"))
g.Expect(res).NotTo(ContainSubstring("Stopping container dummy"))
}, "30s", "5s").Should(Succeed())
Expand Down

0 comments on commit 63438ee

Please sign in to comment.