rafaelweingartner commented on a change in pull request #2997: Allow KVM VM 
live migration with ROOT volume on file storage type
URL: https://github.com/apache/cloudstack/pull/2997#discussion_r232027902
 
 

 ##########
 File path: 
engine/storage/datamotion/src/test/java/org/apache/cloudstack/storage/motion/StorageSystemDataMotionStrategyTest.java
 ##########
 @@ -55,7 +68,7 @@
     ImageStore destinationStore;
 
     @InjectMocks
-    DataMotionStrategy strategy = new StorageSystemDataMotionStrategy();
+    StorageSystemDataMotionStrategy strategy = Mockito.spy(new 
StorageSystemDataMotionStrategy());
 
 Review comment:
   don't need to do this way. You can simply use `@Spy`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to