Opened 16 years ago

Closed 16 years ago

#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:
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 (2)

comment:1 Changed 16 years ago by bennylp

  • Priority changed from normal to minor

comment:2 Changed 16 years ago by bennylp

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

Fixed in r2336

Note: See TracTickets for help on using tickets.