azer / prova

Test runner based on Tape and Browserify
Other
333 stars 30 forks source link

Timed out on isomorphic code. #58

Open hemanth opened 9 years ago

hemanth commented 9 years ago

We notcied timeouts and had to switch.

//cc @azer

azer commented 9 years ago

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

hemanth commented 9 years ago

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

azer commented 9 years ago

yeah you may need to choose a different port

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

hemanth commented 9 years ago

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?

azer commented 9 years ago

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
hemanth commented 9 years ago

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

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

stoeffel commented 9 years ago

Nope. I didn't :frowning: I guess this should solve it.

hemanth commented 9 years ago

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...