Updated Branches: refs/heads/master b884f14ee -> 0f8550db5
Skip the test on jdk6. Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/0f8550db Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/0f8550db Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/0f8550db Branch: refs/heads/master Commit: 0f8550db59c842e6f94c970cebc7ec1fe84029cb Parents: b884f14 Author: Babak Vahdat <bvah...@apache.org> Authored: Tue Dec 31 11:17:48 2013 +0100 Committer: Babak Vahdat <bvah...@apache.org> Committed: Tue Dec 31 11:17:48 2013 +0100 ---------------------------------------------------------------------- .../apache/camel/component/file/remote/sftp/SftpChmodTest.java | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/0f8550db/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpChmodTest.java ---------------------------------------------------------------------- diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpChmodTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpChmodTest.java index aca0266..9479941 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpChmodTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpChmodTest.java @@ -37,6 +37,11 @@ public class SftpChmodTest extends SftpServerTestSupport { return; } + // see https://issues.apache.org/jira/browse/SSHD-267 + if (isJava16()) { + return; + } + template.sendBodyAndHeader("sftp://localhost:" + getPort() + "/" + FTP_ROOT_DIR + "?username=admin&password=admin&chmod=777", "Hello World", Exchange.FILE_NAME, "hello.txt"); File file = new File(FTP_ROOT_DIR + "/hello.txt");