Skip to content
Snippets Groups Projects
Commit 662b335b authored by meiyangbigswitch's avatar meiyangbigswitch
Browse files

fix junit test

parent 34363407
No related branches found
No related tags found
No related merge requests found
......@@ -496,7 +496,7 @@ public class FlowReconcileMgrTest extends FloodlightTestCase {
Date currTime = new Date();
assertTrue((currTime.getTime() - startTime.getTime()) < 1000);
}
// Make sure all flows are in the queue.
assertEquals(totalFlows, flowReconcileMgr.flowQueue.size());
}
......@@ -507,7 +507,7 @@ public class FlowReconcileMgrTest extends FloodlightTestCase {
OFMatchReconcile ofmRc = new OFMatchReconcile();
// push large number of flows to be reconciled.
for (int i = 0; i < NUM_FLOWS_PER_THREAD; i++) {
flowReconcileMgr.reconcileFlow(ofmRc,EventPriority.HIGH);
flowReconcileMgr.reconcileFlow(ofmRc,EventPriority.LOW);
}
}
}
......
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