azer / prova

Test runner based on Tape and Browserify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Timed out on isomorphic code.

hemanth opened this issue · comments

We notcied timeouts and had to switch.

//cc @azer

sorry to hear that but I can't say anything with no details

node test -b -l phantom -e -q worked fine on localhost, but is timing out on travis-ci, much to do with travis?

yeah you may need to choose a different port

example 3: https://github.com/azer/prova#example-commands

Hmm, there must be an env var in travis that would give a free port...or would be cool for prova to pick up a free port?

what is the name of the environment variable ? you should be able to do something like

$ node test -b -l phantom -e -q -o $FREE_PORT

Yup, I'm not sure if travis has a free port env var...

@stoeffel did you try other ports? (non-standard ones)

Nope. I didn't 😦 I guess this should solve it.

Did not find any info in the docs about getting the free port, I feel each session would have access to the std ports and there must not be any conflicts...