Skip to content

Commit be07299

Browse files
authored
Apply suggestions from code review
1 parent d4781cd commit be07299

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

plugins/hypervisors/kvm/src/test/java/com/cloud/hypervisor/kvm/resource/wrapper/LibvirtRestoreBackupCommandWrapperTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public void testExecuteWithVmExistsNull() throws Exception {
7171
when(command.getRestoreVolumePools()).thenReturn(Arrays.asList(primaryDataStore));
7272
when(command.getRestoreVolumePaths()).thenReturn(Arrays.asList("/var/lib/libvirt/images/volume-123"));
7373
when(command.getBackupVolumesUUIDs()).thenReturn(Collections.singletonList("volume-123"));
74+
when(command.getBackupFiles()).thenReturn(Arrays.asList("volume-123"));
7475
when(command.getVmState()).thenReturn(VirtualMachine.State.Running);
7576
when(command.getMountTimeout()).thenReturn(30);
7677

0 commit comments

Comments
 (0)