Skip to content
Snippets Groups Projects
Commit 989f5d03 authored by Rob Adams's avatar Rob Adams
Browse files

Don't hard-depend on topology for unit tests

parent cc35d03d
No related branches found
No related tags found
No related merge requests found
...@@ -651,7 +651,8 @@ IFlowReconcileListener, IInfoProvider, IHAListener { ...@@ -651,7 +651,8 @@ IFlowReconcileListener, IInfoProvider, IHAListener {
floodlightProvider.addOFMessageListener(OFType.PACKET_IN, this); floodlightProvider.addOFMessageListener(OFType.PACKET_IN, this);
floodlightProvider.addHAListener(this); floodlightProvider.addHAListener(this);
topology.addListener(this); if (topology != null)
topology.addListener(this);
flowReconcileMgr.addFlowReconcileListener(this); flowReconcileMgr.addFlowReconcileListener(this);
entityClassifier.addListener(this); entityClassifier.addListener(this);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment