aboutsummaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test/tests.bzl
diff options
context:
space:
mode:
authorThomas Wolf <thomas.wolf@paranor.ch>2018-09-14 22:40:08 +0200
committerMatthias Sohn <matthias.sohn@sap.com>2018-11-06 13:17:21 +0100
commit08b0a8632d54a24d92075b94d0b0134b69146ba2 (patch)
treec7f85adceb9529545fbfb004a6bbd6559c71dd37 /org.eclipse.jgit.test/tests.bzl
parent3ec3ca0f097cb27b190a17f4fde6880c871951e0 (diff)
downloadjgit-08b0a8632d54a24d92075b94d0b0134b69146ba2.tar.gz
jgit-08b0a8632d54a24d92075b94d0b0134b69146ba2.zip
Ssh tests with an Apache MINA sshd test git server
Add a simple ssh git server based on Apache MINA sshd, and use it in new tests that verify ssh operations and in particular a number of bugs that had cropped up over time in JSch. The git server supports fetching only, and sftp access. The tests are all in an abstract base class; the concrete JschSshTest class only provides ssh-specific test setup. So the same tests could be run easily also with some other ssh client. Bug: 520927 Change-Id: Ide6687b717fb497a29fc83f22b07390a26dfce1d Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
Diffstat (limited to 'org.eclipse.jgit.test/tests.bzl')
-rw-r--r--org.eclipse.jgit.test/tests.bzl8
1 files changed, 7 insertions, 1 deletions
diff --git a/org.eclipse.jgit.test/tests.bzl b/org.eclipse.jgit.test/tests.bzl
index bc06e3ef40..b9ad8b2126 100644
--- a/org.eclipse.jgit.test/tests.bzl
+++ b/org.eclipse.jgit.test/tests.bzl
@@ -41,7 +41,13 @@ def tests(tests):
additional_deps = [
"//lib:jsch",
]
-
+ if src.endswith("JSchSshTest.java"):
+ additional_deps = [
+ "//lib:jsch",
+ "//lib:jzlib",
+ "//lib:sshd-core",
+ "//lib:sshd-sftp",
+ ]
heap_size = "-Xmx256m"
if src.endswith("HugeCommitMessageTest.java"):
heap_size = "-Xmx512m"