commit | 69d6ac7e9f0217776e5b291ea16aa18c214dd4a8 | [log] [tgz] |
---|---|---|
author | Brian O'Connor <bocon@onlab.us> | Fri May 29 16:24:06 2015 -0700 |
committer | Brian O'Connor <bocon@onlab.us> | Fri May 29 16:27:21 2015 -0700 |
tree | d2cd4808d9e3c64dd3f6738d48e97271a30d6228 | |
parent | c6e574f90ed0d2ca140136849549f3e5994bb75e [diff] [blame] |
ONOS-2003 Fixing intent reroute after cluster change Objective trackers update when partitions are shuffled to track "local" intents. Change-Id: I7cd9e4a935ddbc94813d5067d4febc084a89f508
diff --git a/core/store/dist/src/test/java/org/onosproject/store/intent/impl/PartitionManagerTest.java b/core/store/dist/src/test/java/org/onosproject/store/intent/impl/PartitionManagerTest.java index 3b091c0..25e23d3 100644 --- a/core/store/dist/src/test/java/org/onosproject/store/intent/impl/PartitionManagerTest.java +++ b/core/store/dist/src/test/java/org/onosproject/store/intent/impl/PartitionManagerTest.java
@@ -28,6 +28,7 @@ import org.onosproject.cluster.LeadershipService; import org.onosproject.cluster.LeadershipServiceAdapter; import org.onosproject.cluster.NodeId; +import org.onosproject.common.event.impl.TestEventDispatcher; import org.onosproject.net.intent.Key; import java.util.HashMap; @@ -86,6 +87,7 @@ partitionManager.clusterService = new TestClusterService(); partitionManager.leadershipService = leadershipService; + partitionManager.eventDispatcher = new TestEventDispatcher(); } /**