don't print Chrome output

This commit is contained in:
Marten Seemann
2017-08-28 09:41:43 +07:00
parent f4aa2d5b0d
commit 8ff8637bb8
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ before_install:
- export GOARCH=$TRAVIS_GOARCH
- go env # for debugging
- "export DISPLAY=:99.0"
- "Xvfb $DISPLAY &"
- "Xvfb $DISPLAY &> /dev/null &"
script:
- .travis/script.sh

View File

@@ -142,7 +142,7 @@ func chromeTestImpl(version protocol.VersionNumber, url string, blockUntilDone f
}
utils.Infof("Running chrome: %s '%s'", getChromePath(), strings.Join(args, "' '"))
command := exec.Command(path, args...)
session, err := gexec.Start(command, GinkgoWriter, GinkgoWriter)
session, err := gexec.Start(command, nil, nil)
Expect(err).NotTo(HaveOccurred())
defer session.Kill()
const pollInterval = 100 * time.Millisecond