Dénes Bodó created OOZIE-3633: --------------------------------- Summary: TestIntegrationGitActionExecutor can fail due to "Address already in use" Key: OOZIE-3633 URL: https://issues.apache.org/jira/browse/OOZIE-3633 Project: Oozie Issue Type: Bug Components: tests Affects Versions: 5.2.1 Reporter: Dénes Bodó Assignee: Dénes Bodó
When executed unit tests I ran into "Address already in use" issue when TestIntegrationGitActionExecutor ran: {noformat} 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) ... {noformat} The root cause may be the approach how the test case checks and uses the port. -- This message was sent by Atlassian Jira (v8.3.4#803005)