> +      String localValue = UUID.randomUUID().toString().replaceAll("-", "");
> +      Key createdKey = api().createKey(localKey, localValue, 1);
> +      assertNotNull(createdKey);
> +      assertNotNull(createdKey.node().expiration());
> +
> +      try {
> +         Thread.sleep(3000);
> +      } catch (InterruptedException e) {
> +         e.printStackTrace();
> +      }
> +
> +      createdKey = api().getKey(localKey);
> +      assertNull(createdKey);
> +   }
> +
> +   @Test(dependsOnMethods = "testCreateKeyWithTTL")

This test uses different keys than the TTL one. There is no need to depend on 
it.

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/234/files#r52988719

Reply via email to