Gradle suite > Gradle test > com.jfrog.xray.client.impl.test.SummaryTests > beforeMethod FAILED
org.mockserver.client.SocketConnectionException: Unable to connect to socket /127.0.0.1:8888
Caused by:
io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information: /127.0.0.1:8888
Caused by:
java.net.ConnectException: Connection refused: no further information
The root cause is an attempt to call mockServer.reset() before the mock server of the previous test had been stopped.
Fix the following error in test:
The root cause is an attempt to call
mockServer.reset()
before the mock server of the previous test had been stopped.