Fixing an issue where intents fail to re-route after a node is restarted; caused by failure to register intent resources correctly.
Change-Id: I239e3b538d5b9134422fa629514e095e4914bb0c
diff --git a/core/net/src/test/java/org/onosproject/net/intent/impl/IntentManagerTest.java b/core/net/src/test/java/org/onosproject/net/intent/impl/IntentManagerTest.java
index ca75a20..4ddb332 100644
--- a/core/net/src/test/java/org/onosproject/net/intent/impl/IntentManagerTest.java
+++ b/core/net/src/test/java/org/onosproject/net/intent/impl/IntentManagerTest.java
@@ -28,13 +28,14 @@
import org.junit.Test;
import org.onosproject.TestApplicationId;
import org.onosproject.cfg.ComponentConfigAdapter;
+import org.onosproject.common.event.impl.TestEventDispatcher;
import org.onosproject.core.ApplicationId;
import org.onosproject.core.impl.TestCoreManager;
-import org.onosproject.common.event.impl.TestEventDispatcher;
import org.onosproject.net.NetworkResource;
import org.onosproject.net.intent.FlowRuleIntent;
import org.onosproject.net.intent.Intent;
import org.onosproject.net.intent.IntentCompiler;
+import org.onosproject.net.intent.IntentData;
import org.onosproject.net.intent.IntentEvent;
import org.onosproject.net.intent.IntentEvent.Type;
import org.onosproject.net.intent.IntentExtensionService;
@@ -145,6 +146,11 @@
public void removeTrackedResources(Key key, Collection<NetworkResource> resources) {
//TODO
}
+
+ @Override
+ public void trackIntent(IntentData intentData) {
+ //TODO
+ }
}
private static class MockInstallableIntent extends FlowRuleIntent {