Skip to content

Commit

Permalink
cli: pass timeout 5 seconds for XVFB, close #1628 (#1629)
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov authored and brian-mann committed Apr 23, 2018
1 parent e5626d0 commit 97e3092
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cli/lib/exec/xvfb.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const debugXvfb = require('debug')('cypress:xvfb')
const { throwFormErrorText, errors } = require('../errors')

const xvfb = Promise.promisifyAll(new Xvfb({
timeout: 5000, // milliseconds
onStderrData (data) {
if (debugXvfb.enabled) {
debugXvfb(data.toString())
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"types": "types",
"dependencies": {
"@cypress/listr-verbose-renderer": "0.4.1",
"@cypress/xvfb": "1.1.3",
"@cypress/xvfb": "1.2.3",
"@types/blob-util": "1.3.3",
"@types/bluebird": "3.5.18",
"@types/chai": "4.0.8",
Expand Down

0 comments on commit 97e3092

Please sign in to comment.