Ticket #650 (closed defect: fixed)
Unit test failure in the timestamp test on very fast CPU (thanks Seth Hinze for the patch)
| Reported by: | bennylp | Owned by: | bennylp |
|---|---|---|---|
| Priority: | minor | Milestone: | release-1.0 |
| Component: | pjlib | Version: | trunk |
| Keywords: | Cc: |
Description
A unit test failure in the timestamp test that occurrs when the tests are run on a very fast cpu. The number of ticks that elapses in 10 seconds on a XP machine with a multi ghz cpu is greater than the u32 that holds the delta, causing the measured ticks to get truncated and the test to fail.
Thanks Seth Hinze for the report and the patch.
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](/repos/chrome/site/pj.jpg)