You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Andras Salamon (JIRA)" <ji...@apache.org> on 2019/08/06 11:10:00 UTC
[jira] [Commented] (OOZIE-3391) Fix TestSsh tests
[ https://issues.apache.org/jira/browse/OOZIE-3391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16900901#comment-16900901 ]
Andras Salamon commented on OOZIE-3391:
---------------------------------------
I wanted to use [Apache SSHD|https://mina.apache.org/sshd-project/] for the test. I was working great for a standalone test, but I always get {{Connection closed by foreign host}} error message if I want to use at in {{TestSshActionExecutor}}. I don't have more time to investigate it right now, [~shubham.chhabra] feel free to take it back.
> Fix TestSsh tests
> -----------------
>
> Key: OOZIE-3391
> URL: https://issues.apache.org/jira/browse/OOZIE-3391
> Project: Oozie
> Issue Type: Improvement
> Reporter: Andras Salamon
> Assignee: Andras Salamon
> Priority: Major
>
> The root {{pom.xml}} turns off {{TestSsh*}} tests:
> {noformat}<excludes>
> <exclude>**/${test.exclude}.java</exclude>
> <exclude>${test.exclude.pattern}</exclude>
> <!-- Explictly use -Dtest=TestSshActionExecutor,TestSshActionExecutorExtension
> to test the SSH action -->
> <exclude>**/TestSsh*.java</exclude>
> </excludes>
> {noformat}
> Although originally it meant to turn off only {{TestSshActionExecutor}} and {{TestSshActionExecutorExtension}} tests, it also turns off the newer Fluent Job tests:
> {noformat}TestSshAction.java
> TestSshActionMapping.java
> TestSshActionBuilder.java
> {noformat}
> We should fix the tests.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)