> + }
> +
> + @Test(dependsOnMethods = "testUpdateStaus")
> + public void testUpdateHardware() throws InterruptedException {
> + assertNodeAvailable(currentServer);
> +
> + Server updateResult = serverApi().updateHardware(currentServer.id(),
> Hardware.UpdateHardware.create(4, 2, 6));
> +
> + assertNotNull(updateResult);
> + }
> +
> + @Test(dependsOnMethods = "testAddHdds")
> + public void testListHardwareHdds() throws InterruptedException {
> + assertNodeAvailable(currentServer);
> + //give time for harddisk to be added
> + Thread.sleep(60000);
Is there a smarter way to do this?
---
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#r68671040