In CircleCI, I run an application that I would like to run tests:
test: pre:
In the local application, the application is available at http://localhost:8080 . I see that the application is starting in CircleCI.
I thought I would change the localhost host:
machine:
My tests work locally correctly. In CircleCI they always end without a connection when calling new HttpPost("http://localhost:8080/api"); with this error:
org.apache.http.conn.HttpHostConnectException on SendMessageSpec.groovy: 44 Called: java.net.ConnectException on SendMessageSpec.groovy: 44
source share