theintern / intern

A next-generation code testing stack for JavaScript.
https://theintern.io/
Other
4.36k stars 309 forks source link

functionalSuites empty make the sauce connect crash #264

Closed hilnius closed 10 years ago

hilnius commented 10 years ago

If in the intern.js configuration file, the 'functionalSuites' array is empty, when the runner is run on SauceLabs, there is an error :

Starting secure remote tunnel VM...
Finished! Deleting tunnel.
Error: Not authorized
Error: Not authorized
  at reject  "node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:353:17"
  at readStartupMessage  "node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:364:14"
  at "node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:434:12"
  at Array.some  "native"
  at Socket."anonymous" "node_modules/intern/node_modules/digdug/SauceLabsTunnel.js:428:21"
  at Socket.emit  "events.js:117:20"
  at Socket."anonymous"  "_stream_readable.js:764:14"
  at Socket.emit  "events.js:92:17"
  at emitReadable_  "_stream_readable.js:426:10"
  at emitReadable "_stream_readable.js:422:5"
hilnius commented 10 years ago

Came from the fact that I had a selenium instance running on my machine. I happened to stop it at the same time I added the functuonal suites. For those who run into the same error make sure that the port you bind to is open. (the webdriver port).