Skip to content

Commit

Permalink
Bump session timer to allow more time for building binary for more
Browse files Browse the repository at this point in the history
consistent tests
  • Loading branch information
MarcPaquette authored and geofffranks committed Oct 26, 2023
1 parent 79e7dce commit a00454a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lagerflags/integration/integration_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package main_test

import (
"os/exec"
"time"

. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down Expand Up @@ -31,7 +32,7 @@ var _ = Describe("CF-Lager", func() {
It("provides flags", func() {
session, err := gexec.Start(exec.Command(testBinary, "--help"), GinkgoWriter, GinkgoWriter)
Expect(err).NotTo(HaveOccurred())
session.Wait()
session.Wait(3 * time.Second)
Expect(session.Err.Contents()).To(ContainSubstring("-logLevel"))
})

Expand Down

0 comments on commit a00454a

Please sign in to comment.