[CORD-1634] Support enable/disable ports on STANDBY nodes.
Change-Id: I6e519acad1f0a425126961c6e88bd64c90574939
diff --git a/core/net/src/test/java/org/onosproject/net/device/impl/DeviceManagerTest.java b/core/net/src/test/java/org/onosproject/net/device/impl/DeviceManagerTest.java
index b1bc079..975c90a 100644
--- a/core/net/src/test/java/org/onosproject/net/device/impl/DeviceManagerTest.java
+++ b/core/net/src/test/java/org/onosproject/net/device/impl/DeviceManagerTest.java
@@ -49,6 +49,7 @@
import org.onosproject.net.device.PortDescription;
import org.onosproject.net.provider.AbstractProvider;
import org.onosproject.net.provider.ProviderId;
+import org.onosproject.store.cluster.messaging.ClusterCommunicationServiceAdapter;
import org.onosproject.store.trivial.SimpleDeviceStore;
import java.util.ArrayList;
@@ -106,6 +107,7 @@
mgr.termService = mastershipManager;
mgr.clusterService = new TestClusterService();
mgr.networkConfigService = new TestNetworkConfigService();
+ mgr.communicationService = new TestClusterCommunicationService();
mgr.activate();
@@ -337,4 +339,7 @@
private class TestNetworkConfigService extends NetworkConfigServiceAdapter {
}
+
+ private class TestClusterCommunicationService extends ClusterCommunicationServiceAdapter {
+ }
}