From f48ed7df88f16350799ffc21ac61d5fc1c1471bd Mon Sep 17 00:00:00 2001 From: Vishwas Siravara Date: Tue, 19 Sep 2023 18:13:14 -0700 Subject: [PATCH] Update logs test params Signed-off-by: Vishwas Siravara --- tests/logs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/logs.go b/tests/logs.go index 596b2cf..e05b568 100644 --- a/tests/logs.go +++ b/tests/logs.go @@ -54,7 +54,7 @@ func Logs(o *option.Option) { time.Sleep(2 * time.Second) output := command.StdoutStr(o, "logs", "--since", "1s", testContainerName) gomega.Expect(output).Should(gomega.BeEmpty()) - output = command.StdoutStr(o, "logs", "--since", "3s", testContainerName) + output = command.StdoutStr(o, "logs", "--since", "5s", testContainerName) gomega.Expect(output).Should(gomega.Equal(foo)) }) @@ -62,7 +62,7 @@ func Logs(o *option.Option) { time.Sleep(2 * time.Second) output := command.StdoutStr(o, "logs", "--until", "1s", testContainerName) gomega.Expect(output).Should(gomega.Equal(foo)) - output = command.StdoutStr(o, "logs", "--until", "3s", testContainerName) + output = command.StdoutStr(o, "logs", "--until", "5s", testContainerName) gomega.Expect(output).Should(gomega.BeEmpty()) }) })