Description
When executed unit tests I ran into "Address already in use" issue when TestIntegrationGitActionExecutor ran:
java.net.BindException: Address already in use (Bind failed) at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:387) at java.net.ServerSocket.bind(ServerSocket.java:375) at org.eclipse.jgit.transport.Daemon.start(Daemon.java:373) at org.apache.oozie.action.hadoop.GitServer.start(GitServer.java:76) ...
The root cause may be the approach how the test case checks and uses the port.
Attachments
Attachments
Issue Links
- links to