You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ch...@apache.org on 2015/03/12 03:33:35 UTC
airavata git commit: fixing a bug in ssh credential registration
client
Repository: airavata
Updated Branches:
refs/heads/master f31637e8c -> 6da7a74e3
fixing a bug in ssh credential registration client
Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/6da7a74e
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/6da7a74e
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/6da7a74e
Branch: refs/heads/master
Commit: 6da7a74e34f8fa02d3a1f693917996b0ca16b34e
Parents: f31637e
Author: Chathuri Wimalasena <ka...@gmail.com>
Authored: Wed Mar 11 22:33:28 2015 -0400
Committer: Chathuri Wimalasena <ka...@gmail.com>
Committed: Wed Mar 11 22:33:28 2015 -0400
----------------------------------------------------------------------
.../credential/store/store/impl/db/SSHCredentialTest.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/airavata/blob/6da7a74e/modules/credential-store/credential-store-service/src/test/java/org/apache/airavata/credential/store/store/impl/db/SSHCredentialTest.java
----------------------------------------------------------------------
diff --git a/modules/credential-store/credential-store-service/src/test/java/org/apache/airavata/credential/store/store/impl/db/SSHCredentialTest.java b/modules/credential-store/credential-store-service/src/test/java/org/apache/airavata/credential/store/store/impl/db/SSHCredentialTest.java
index e6969e6..45c0be3 100644
--- a/modules/credential-store/credential-store-service/src/test/java/org/apache/airavata/credential/store/store/impl/db/SSHCredentialTest.java
+++ b/modules/credential-store/credential-store-service/src/test/java/org/apache/airavata/credential/store/store/impl/db/SSHCredentialTest.java
@@ -65,9 +65,9 @@ public class SSHCredentialTest {
pubKeyStream.read(bFilePub);
privateKeyStream.close();
pubKeyStream.close();
- sshCredential.setPrivateKey(bFilePub);
+ sshCredential.setPrivateKey(bFilePri);
sshCredential.setPublicKey(bFilePub);
- sshCredential.setPassphrase("ljclqowueqllad_lqlj");
+ sshCredential.setPassphrase("test");
writer.writeCredentials(sshCredential);
System.out.println(token);
} catch (ClassNotFoundException e) {