Make RDE SSH key identity injectable

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=133883090
This commit is contained in:
Hans Ridder 2016-09-21 15:23:00 -07:00 committed by Ben McIlwain
parent 28eeda189d
commit 2d46c7c27c
3 changed files with 16 additions and 1 deletions

View file

@ -181,6 +181,7 @@ public class RdeUploadActionTest {
action.ghostryde = new Ghostryde(BUFFER_SIZE);
action.jsch =
JSchModule.provideJSch(
"user@ignored",
keyring.getRdeSshClientPrivateKey(), keyring.getRdeSshClientPublicKey());
action.jschSshSessionFactory = new JSchSshSessionFactory(standardSeconds(3));
action.response = response;