Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

PhantomJS timeout issue with 0.2.3 #48

Closed
skusunam opened this issue Mar 2, 2013 · 3 comments
Closed

PhantomJS timeout issue with 0.2.3 #48

skusunam opened this issue Mar 2, 2013 · 3 comments

Comments

@skusunam
Copy link

skusunam commented Mar 2, 2013

I am trying to upgrade this plugin https://github.com/addyosmani/backbone.paginator to use Grunt-0.4.0 and i am getting PhantomJS timeout:

Warning: PhantomJS timed out, possibly due to a missing Mocha run() call. Use --force to continue

grunt mocha -v --debug

Running tasks: mocha

Running "mocha" task
[D] Task source: /Users/reds-dev/github/skusunam/backbone.paginator/node_modules/grunt-mocha/tasks/mocha.js

Running "mocha:all" (mocha) task
[D] Task source: /Users/reds-dev/github/skusunam/backbone.paginator/node_modules/grunt-mocha/tasks/mocha.js
Verifying property mocha.all exists in config...OK
Files: test/test.html -> all
Additional configuration: {"timeout":5000,"inject":"/Users/reds-dev/github/skusunam/backbone.paginator/node_modules/grunt-mocha/phantomjs/bridge.js","phantomScript":"/Users/reds-dev/github/skusunam/backbone.paginator/node_modules/grunt-mocha/phantomjs/main.js","urls":[]}

Testing test.html
[D] ["/Users/reds-dev/github/skusunam/backbone.paginator/node_modules/grunt-mocha/phantomjs/main.js","/var/folders/gr/8yf0645d3xbcvqt7pkc5_2zc0000gq/T/1362244112590.0913","test/test.html","{"timeout":5000,"inject":"/Users/reds-dev/github/skusunam/backbone.paginator/node_modules/grunt-mocha/phantomjs/bridge.js","phantomScript":"/Users/reds-dev/github/skusunam/backbone.paginator/node_modules/grunt-mocha/phantomjs/main.js","urls":[]}"]
[D] ["phantomjs","private","version",{"major":1,"minor":8,"patch":1}]
[D] ["phantomjs","onResourceRequested","file:///Users/reds-dev/github/skusunam/backbone.paginator/test/test.html"]
[D] ["phantomjs","onUrlChanged","file:///Users/reds-dev/github/skusunam/backbone.paginator/test/test.html"]
[D] ["phantomjs","onResourceRequested","file:///Users/reds-dev/github/skusunam/backbone.paginator/test/css/mocha.css"]
[D] ["phantomjs","onResourceRequested","file:///Users/reds-dev/github/skusunam/backbone.paginator/test/js/jquery.js"]
[D] ["phantomjs","onResourceRequested","file:///Users/reds-dev/github/skusunam/backbone.paginator/test/js/underscore.js"]
[D] ["phantomjs","onResourceRequested","file:///Users/reds-dev/github/skusunam/backbone.paginator/test/js/backbone.js"]
[D] ["phantomjs","onResourceRequested","file:///Users/reds-dev/github/skusunam/backbone.paginator/test/js/mocha.js"]
[D] ["phantomjs","onResourceRequested","file:///Users/reds-dev/github/skusunam/phantomjs/bridge.js"]
[D] ["phantomjs","onResourceRequested","file:///Users/reds-dev/github/skusunam/backbone.paginator/test/js/chai.js"]
[D] ["phantomjs","onResourceRequested","file:///Users/reds-dev/github/skusunam/backbone.paginator/test/js/sinon.js"]
[D] ["phantomjs","onResourceRequested","file:///Users/reds-dev/github/skusunam/backbone.paginator/lib/backbone.paginator.js"]
[D] ["phantomjs","onResourceRequested","file:///Users/reds-dev/github/skusunam/backbone.paginator/test/backbone.paginator.requestPager_test.js"]
[D] ["phantomjs","onResourceRequested","file:///Users/reds-dev/github/skusunam/backbone.paginator/test/backbone.paginator.clientPager_test.js"]
[D] ["phantomjs","onResourceReceived","file:///Users/reds-dev/github/skusunam/backbone.paginator/test/test.html"]
[D] ["phantomjs","onResourceRequested","file:///Users/reds-dev/github/skusunam/backbone.paginator/test/test.html?callback=jQuery182038564301072619855_1362244114093&=1362244115583"]
[D] ["phantomjs","onResourceReceived","file:///Users/reds-dev/github/skusunam/backbone.paginator/test/test.html?callback=jQuery182038564301072619855_1362244114092&
=1362244115582"]
[D] ["phantomjs","onResourceReceived","file:///Users/reds-dev/github/skusunam/backbone.paginator/test/test.html?callback=jQuery182038564301072619855_1362244114093&_=1362244115583"]
[D] ["phantomjs","fail.timeout"]

Warning: PhantomJS timed out, possibly due to a missing Mocha run() call. Use --force to continue.

@kmiyashiro
Copy link
Owner

Can you post your grunt file, spec/html in a gist?

@jgallen23
Copy link

I am having the same issue. https://github.com/jgallen23/fidel-slider/tree/feature/grunt0.4

Also, to get phantomjs to work, I had to manually install 1.8.2-0 instead of 1.8.2-2

@jgallen23
Copy link

My issue was because I had run: true outside the options object. Still have an issue with phantoms 1.8.2-2, but I don't think that's anything that grunt-mocha can solve

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants