> for (String zoneId : api.getConfiguredZones()) {
> KeyPairApi keyPairApi =
> api.getKeyPairExtensionForZone(zoneId).get();
> KeyPair keyPair = null;
> try {
> keyPair = keyPairApi.createWithPublicKey(KEYPAIR_NAME,
> PUBLIC_KEY);
> assertNotNull(keyPair);
> + keyPair = keyPairApi.get(KEYPAIR_NAME);
> + assertNotNull(keyPair);
Could you add an assertion to verify the name of the key pair too?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/391/files#r13406979