Skip to content

Commit

Permalink
Test can inspect stdout & stderr: Give some time to exit
Browse files Browse the repository at this point in the history
  • Loading branch information
alvaroaleman committed Jul 27, 2020
1 parent e50c7b8 commit accbce3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/internal/testing/integration/internal/process_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ var _ = Describe("Start method", func() {
processState.StartTimeout = 1 * time.Second

Expect(processState.Start(stdout, stderr)).To(Succeed())
Expect(processState.Session).Should(gexec.Exit())
Eventually(processState.Session).Should(gexec.Exit())

Expect(stdout.String()).To(Equal("that is stdout\n"))
Expect(stderr.String()).To(Equal("this is stderr\ni started\n"))
Expand Down

0 comments on commit accbce3

Please sign in to comment.