You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the previously assigned vNet for Netris Network when it transitions to Implemented state after gc
* Use the previously assigned vNet for Netris Network when it transitions to Implemented state after gc
* Fix unit tests
---------
Co-authored-by: nvazquez <[email protected]>
Copy file name to clipboardExpand all lines: plugins/network-elements/netris/src/test/java/org/apache/cloudstack/service/NetrisGuestNetworkGuruTest.java
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@
28
28
importcom.cloud.network.Network;
29
29
importcom.cloud.network.NetworkModel;
30
30
importcom.cloud.network.Networks;
31
+
importcom.cloud.network.dao.NetworkDetailsDao;
31
32
importcom.cloud.network.dao.NetworkVO;
32
33
importcom.cloud.network.dao.PhysicalNetworkDao;
33
34
importcom.cloud.network.dao.PhysicalNetworkVO;
@@ -78,6 +79,8 @@ public class NetrisGuestNetworkGuruTest {
78
79
privateVpcDaovpcDao;
79
80
@Mock
80
81
privateNetrisServicenetrisService;
82
+
@Mock
83
+
privateNetworkDetailsDaonetworkDetailsDao;
81
84
82
85
@Spy
83
86
@InjectMocks
@@ -219,6 +222,7 @@ public void testImplementNetrisVpcNetwork() throws InsufficientVirtualNetworkCap
0 commit comments