rohityadavcloud commented on code in PR #8139:
URL: https://github.com/apache/cloudstack/pull/8139#discussion_r1371221388


##########
plugins/hypervisors/xenserver/src/test/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/XenServer610WrapperTest.java:
##########
@@ -259,8 +259,8 @@ public void testMigrateWithStorageSendCommand() {
         final Connection conn = Mockito.mock(Connection.class);
         final VirtualMachineTO vmSpec = Mockito.mock(VirtualMachineTO.class);
 
-        final VolumeTO volume1 = Mockito.mock(VolumeTO.class);
-        final VolumeTO volume2 = Mockito.mock(VolumeTO.class);
+        final VolumeTO volume1 =MockVolumeTO(path);

Review Comment:
   ```suggestion
           final VolumeTO volume1 = MockVolumeTO(path);
   ```



##########
plugins/hypervisors/xenserver/src/test/java/com/cloud/hypervisor/xenserver/resource/wrapper/xenbase/XenServer610WrapperTest.java:
##########
@@ -481,4 +475,9 @@ public void testXenServer610MigrateVolumeCommandWrapper() {
 
         assertFalse(answer.getResult());
     }
+    VolumeTO MockVolumeTO(String path){

Review Comment:
   ```suggestion
   
       VolumeTO MockVolumeTO(String path){
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to