> +
> + assertNotNull(fixedInstanceServer);
> + assertNotNull(fixedInstanceServer.id());
> + assertEquals(currentFlavour.hardware().vcore(),
> fixedInstanceServer.hardware().vcore());
> + assertEquals(currentFlavour.hardware().coresPerProcessor(),
> fixedInstanceServer.hardware().coresPerProcessor());
> + assertEquals(currentFlavour.hardware().ram(),
> fixedInstanceServer.hardware().ram());
> +
> + }
> +
> + @Test
> + public void testList() {
> +
> + servers = serverApi().getList();
> +
> + assertNotNull(servers);
> + assertFalse(servers.isEmpty());
Better verify that the server the test created exists. Otherwise this could
lead to false positives if running the tests on an account with existing
servers.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/275/files/0767d011a984011133c9e34b3389b449ca0756cd#r68670862