[ 
http://jira.amdatu.org/jira/browse/AMDATU-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10404#comment-10404
 ] 

Ivo Ladage - van Doorn commented on AMDATU-189:
-----------------------------------------------

By coincidence, I get the same error locally now on an oAuth integration test 
I'm working on:

-------------------------------------------------------------------------------
Test set: org.amdatu.test.integration.tests.OAuthClientTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 22.373 sec <<< 
FAILURE!
testOAuthClient [felix](org.amdatu.test.integration.tests.OAuthClientTest)  
Time elapsed: 22.169 sec  <<< ERROR!
org.apache.http.conn.HttpHostConnectException: Connection to 
http://localhost:3737 refused
        at 
org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:127)
        at 
org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:147)
        at 
org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:108)
        at 
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:415)
        at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:641)
        at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:576)
        at 
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:554)
        at 
net.oauth.client.httpclient4.HttpClient4.execute(HttpClient4.java:104)
        at net.oauth.client.OAuthClient.access(OAuthClient.java:325)
        at net.oauth.client.OAuthClient.invoke(OAuthClient.java:306)
        at net.oauth.client.OAuthClient.invoke(OAuthClient.java:262)
        at 
net.oauth.client.OAuthClient.getRequestTokenResponse(OAuthClient.java:192)
        at net.oauth.client.OAuthClient.getRequestToken(OAuthClient.java:150)
        at net.oauth.client.OAuthClient.getRequestToken(OAuthClient.java:126)
        at net.oauth.client.OAuthClient.getRequestToken(OAuthClient.java:106)
        at 
org.amdatu.authentication.oauth.client.OAuthServiceConsumerClient.generateRequestToken(OAuthServiceConsumerClient.java:68)

I'll add the Thread.sleep here too and see if it happens again

> Random failures for filter/jsp integration test
> -----------------------------------------------
>
>                 Key: AMDATU-189
>                 URL: http://jira.amdatu.org/jira/browse/AMDATU-189
>             Project: Amdatu
>          Issue Type: Bug
>          Components: Testing
>    Affects Versions: 0.0.6
>            Reporter: Bram de Kruijff
>            Assignee: Ivo Ladage - van Doorn
>            Priority: Blocker
>             Fix For: 0.0.6
>
>
> I got a buildfailure on the testFilter integration test after a commit that 
> AFAIK totally unrelated. Looking at bamboo it seems this happens every now 
> and then:
> http://bamboo.amdatu.org/bamboo/browse/AMDATU-TRUNK/test/case/2719767

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to