Skip to content

Commit

Permalink
Comment odo log -f tests as they are flaky
Browse files Browse the repository at this point in the history
  • Loading branch information
Aditi Sharma committed Aug 21, 2020
1 parent b410db9 commit 7a09a14
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions tests/integration/devfile/cmd_devfile_log_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
*/

})

Expand All @@ -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())
*/

})

Expand Down

0 comments on commit 7a09a14

Please sign in to comment.