Ticket #650 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

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:
Backport to 1.x milestone: Backported:

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

comment:1 Changed 9 years ago by bennylp

  • Priority changed from normal to minor

comment:2 Changed 9 years ago by bennylp

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in r2336

Note: See TracTickets for help on using tickets.