> +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");
@nacx Thanks for reviewing all of this. This live test assumes the user has
already built out their environment via API or UI with a datacenter, server,
volume, and NIC. So, this is a precondition that will be met by default. This
is very similar to the Server live tests where a datacenter is required before
running the test.
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/141/files#r25618414