Actions
Bug #3059
closedndn-net-device-face.t.cpp unit test occasionally fails.
Start date:
07/18/2015
Due date:
% Done:
100%
Estimated time:
Description
Sometimes the output of faceStatus.getNInInterests() (line 80) is 2000 and others 1999. That is why sometimes the unit test fails.
Updated by Spyros Mastorakis over 9 years ago
- Category set to tests
- Status changed from New to Code review
- Assignee set to Spyros Mastorakis
- Target version set to 2.1
- % Done changed from 0 to 90
Updated by Junxiao Shi over 9 years ago
What's the root cause of faceStatus.getNInInterests()
off-by-one? What's that extra incoming Interest?
It's not right to simply accept both possibilities without finding the root cause.
Updated by Spyros Mastorakis over 9 years ago
The root cause is that the ndnSIM test cases are actual simulation scenarios. For this one, if you modify the stop time of the simulation from 20 sec to 20.00001 sec, then the test case does not fail.
Updated by Spyros Mastorakis over 9 years ago
- Status changed from Code review to Closed
- % Done changed from 90 to 100
Actions