jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ignasi Barrera <notificati...@github.com>
Subject Re: [jclouds-labs] Profitbricks IpBlock API (#141)
Date Mon, 02 Mar 2015 15:00:35 GMT
> +import org.testng.annotations.Test;
> +
> +@Test(groups = "live", testName = "IpBlockApiLiveTest", singleThreaded = true)
> +public class IpBlockApiLiveTest extends BaseProfitBricksLiveTest {
> +
> +   String nicid;
> +   IpBlock newIpBlock;
> +   String ip;
> +
> +   @Override
> +   public void initialize() {
> +      super.initialize();
> +
> +      List<Nic> nics = api.nicApi().getAllNics();
> +
> +      assertFalse(nics.isEmpty(), "At least one NIC is requred to test IpBlocks");

Is this something that can be setup or is it a precondition that will be met by default?
I mean, a user with a default and clean account, will need to perform a manual configuration
to be able to run thses live tests?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/141/files#r25603794
Mime
View raw message