Skip to content

JsEnv timeouts start too early #2226

@japgolly

Description

@japgolly

My travis builds often fail because PhantomJSEnv timeouts halfway through the tests. The fix for this was to change my .travis.yml from

script:
- sbt ++$TRAVIS_SCALA_VERSION test

to

script:
- sbt ++$TRAVIS_SCALA_VERSION test:fastOptJS
- sbt ++$TRAVIS_SCALA_VERSION test

This, coupled with the fact that I never get timeouts locally in long-running SBT sessions, implies that whatever timeout is in-place (I know we've discussed this before but I never come away with a proper understanding - sorry) begin when the batch of commands are issued. This should ideally be changed to begin when tests truly commence.

That being said, the workaround is trivial so if a fix isn't worth the effort, that's cool - feel free to close.

Metadata

Metadata

Assignees

Labels

bugConfirmed bug. Needs to be fixed.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions