Skip to content

Commit

Permalink
test: increase timeout for process host test in Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
arobson committed Nov 25, 2017
1 parent 833a2a0 commit 68190d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ before_script:
- npm i @npm-wharf/shipwright@latest -g

script:
# coveralls will _not_ stop rejecting this saying the repo doesn't exist
# no amount of rename/source redirect/sync attempts have fixed this
# - nyc npm test && nyc report --reporter=text-lcov | coveralls
- nyc npm test && nyc report --reporter=text-lcov
- nyc npm test && nyc report --reporter=text-lcov | coveralls

after_script:
- ./kill-etcd.sh
Expand Down
2 changes: 2 additions & 0 deletions spec/process-host.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ describe('Process Host', function () {
let wroteFiles = false
const TIMEOUT = process.env.TRAVIS ? 4000 : 1000
before(function (done) {
this.timeout(10000)
output = new EchoStream()
configuration = {
cwd: './example/app',
Expand Down Expand Up @@ -74,6 +75,7 @@ describe('Process Host', function () {
})

it('should restart on command', function (done) {
this.timeout(10000)
configuration.sets[2].value = 'oh look, a new MOTD'
processHost.restart(
configuration,
Expand Down

0 comments on commit 68190d8

Please sign in to comment.