mirror of https://github.com/apache/jclouds.git
Register the public key before running the tests
This commit is contained in:
parent
b1ba624707
commit
6192926b28
|
@ -143,6 +143,10 @@ public class CloudStackComputeServiceAdapterLiveTest extends BaseCloudStackClien
|
|||
keyPairName = prefix + "-adapter-test-keypair";
|
||||
try {
|
||||
keyPair = ComputeTestUtils.setupKeyPair();
|
||||
|
||||
client.getSSHKeyPairClient().deleteSSHKeyPair(keyPairName);
|
||||
client.getSSHKeyPairClient().registerSSHKeyPair(keyPairName, keyPair.get("public"));
|
||||
|
||||
} catch (IOException e) {
|
||||
fail("Unable to create keypair", e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue