Skip to content
Snippets Groups Projects
Commit 78e80fce authored by Gregor Maier's avatar Gregor Maier
Browse files

Fix unit test.

parent 1284fa6c
No related branches found
No related tags found
No related merge requests found
......@@ -504,6 +504,8 @@ public class OFChannelHandlerTest {
expectLastCall().once();
sw.getStringId();
expectLastCall().andReturn(cfg.dpid).atLeastOnce();
sw.isWriteThrottleEnabled(); // used for log message only
expectLastCall().andReturn(false).anyTimes();
if (cfg.isPresent)
sw.setAttribute(IOFSwitch.SWITCH_IS_CORE_SWITCH, cfg.isCoreSwitch);
replay(sw);
......
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