[ 
https://issues.apache.org/jira/browse/USERGRID-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14103393#comment-14103393
 ] 

Lewis John McGibbney commented on USERGRID-208:
-----------------------------------------------

Don't know how or when the tests started breaking however this is the result I 
get from running "./build.sh e2e" from within portal on master branch

./build.sh: line 16: webdriver-manager: command not found
to run e2e tests you need to have a running instance of webdriver, 1) npm 
install protractor -g -> 2) webdriver-manager start --standalone
Running "connect:e2e-chrome" (connect) task
Started connect web server on 127.0.0.1:3006.

Running "protractor:chrome" (protractor) task
Using the selenium server at http://localhost:4444/wd/hub

/usr/local/incubator-usergrid/portal/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1702
      throw error;
            ^
Error: ECONNREFUSED connect ECONNREFUSED
    at ClientRequest.<anonymous> 
(/usr/local/incubator-usergrid/portal/node_modules/protractor/node_modules/selenium-webdriver/http/index.js:128:16)
    at ClientRequest.emit (events.js:95:17)
    at Socket.socketErrorListener (http.js:1547:9)
    at Socket.emit (events.js:95:17)
    at net.js:440:14
    at process._tickCallback (node.js:419:13)
==== async task ====
WebDriver.createSession()
    at Function.webdriver.WebDriver.acquireSession_ 
(/usr/local/incubator-usergrid/portal/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:131:49)
    at Function.webdriver.WebDriver.createSession 
(/usr/local/incubator-usergrid/portal/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:111:30)
    at Builder.build 
(/usr/local/incubator-usergrid/portal/node_modules/protractor/node_modules/selenium-webdriver/builder.js:106:20)
    at HostedDriverProvider.getDriver 
(/usr/local/incubator-usergrid/portal/node_modules/protractor/lib/driverProviders/hosted.dp.js:54:9)
    at 
/usr/local/incubator-usergrid/portal/node_modules/protractor/lib/runner.js:383:35
    at _fulfilled 
(/usr/local/incubator-usergrid/portal/node_modules/protractor/node_modules/q/q.js:797:54)
    at self.promiseDispatch.done 
(/usr/local/incubator-usergrid/portal/node_modules/protractor/node_modules/q/q.js:826:30)
    at Promise.promise.promiseDispatch 
(/usr/local/incubator-usergrid/portal/node_modules/protractor/node_modules/q/q.js:759:13)
    at 
/usr/local/incubator-usergrid/portal/node_modules/protractor/node_modules/q/q.js:525:49
>>
Fatal error: protractor exited with code: 8

> License headers for all XML files
> ---------------------------------
>
>                 Key: USERGRID-208
>                 URL: https://issues.apache.org/jira/browse/USERGRID-208
>             Project: Usergrid
>          Issue Type: Improvement
>    Affects Versions: 1.0
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>            Priority: Blocker
>             Fix For: 1.0
>
>
> This issue should add license headers to the following XML files
> cloudbees.xml
> maven-metadata-local.xml
> usergrid-rest-deploy-context.xml



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to