-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73507/
-----------------------------------------------------------
Review request for oozie.
Bugs: OOZIE-3633
https://issues.apache.org/jira/browse/OOZIE-3633
Repository: oozie-git
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.
Diffs
-----
sharelib/git/src/test/java/org/apache/oozie/action/hadoop/GitServer.java
8398e5fef
sharelib/git/src/test/java/org/apache/oozie/action/hadoop/TestIntegrationGitActionExecutor.java
20368dabb
Diff: https://reviews.apache.org/r/73507/diff/1/
Testing
-------
Thanks,
Denes Bodo