From 627c2fc268a70b170688196c52de33e1123bcf9b Mon Sep 17 00:00:00 2001 From: Aditi Sharma Date: Fri, 21 Aug 2020 19:30:42 +0530 Subject: [PATCH] Comment odo log -f tests as they are flaky (#3808) --- .../devfile/cmd_devfile_log_test.go | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/tests/integration/devfile/cmd_devfile_log_test.go b/tests/integration/devfile/cmd_devfile_log_test.go index 60a543b084b..88233f6571a 100644 --- a/tests/integration/devfile/cmd_devfile_log_test.go +++ b/tests/integration/devfile/cmd_devfile_log_test.go @@ -58,10 +58,12 @@ var _ = Describe("odo devfile log command tests", func() { output := helper.CmdShouldPass("odo", "log") Expect(output).To(ContainSubstring("ODO_COMMAND_RUN")) - // Test odo log -f - match, err := helper.RunCmdWithMatchOutputFromBuffer(30*time.Second, "program=devrun", "odo", "log", "-f") - Expect(err).To(BeNil()) - Expect(match).To(BeTrue()) + /* + Flaky Test odo log -f, see issue https://github.com/openshift/odo/issues/3809 + match, err := helper.RunCmdWithMatchOutputFromBuffer(30*time.Second, "program=devrun", "odo", "log", "-f") + Expect(err).To(BeNil()) + Expect(match).To(BeTrue()) + */ }) @@ -83,10 +85,12 @@ var _ = Describe("odo devfile log command tests", func() { output := helper.CmdShouldPass("odo", "log", "--debug") Expect(output).To(ContainSubstring("ODO_COMMAND_DEBUG")) - // test with follow flag - match, err := helper.RunCmdWithMatchOutputFromBuffer(30*time.Second, "program=debugrun", "odo", "log", "-f") - Expect(err).To(BeNil()) - Expect(match).To(BeTrue()) + /* + Flaky Test odo log -f, see issue https://github.com/openshift/odo/issues/3809 + match, err := helper.RunCmdWithMatchOutputFromBuffer(30*time.Second, "program=debugrun", "odo", "log", "-f") + Expect(err).To(BeNil()) + Expect(match).To(BeTrue()) + */ })