mirror of https://github.com/apache/jclouds.git
Fixed broken test
This commit is contained in:
parent
2c2eadc2e0
commit
e6c13a4f32
|
@ -86,6 +86,7 @@ public class TakeSnapshotIfNotAlreadyAttachedTest {
|
|||
expect(machine.getCurrentSnapshot()).andReturn(null).anyTimes();
|
||||
expect(manager.openMachineSession(machine)).andReturn(session);
|
||||
|
||||
expect(machine.getName()).andReturn("machine").anyTimes();
|
||||
expect(session.getConsole()).andReturn(console);
|
||||
expect(console.takeSnapshot(snapshotName, snapshotDesc)).andReturn(
|
||||
progress);
|
||||
|
|
Loading…
Reference in New Issue