Commit Graph

5 Commits

Author SHA1 Message Date
Russell Bryant
6ed96a542a Backport unit test API from trunk.
Also, update existing test modules that were already in this branch but had
been converted to the unit test API in trunk.

Review: https://reviewboard.asterisk.org/r/748/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@272531 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-25 18:58:37 +00:00
Russell Bryant
e2af9818e0 Merged revisions 187675 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r187675 | russell | 2009-04-10 11:00:29 -0500 (Fri, 10 Apr 2009) | 2 lines

Disable test modules by default.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@187677 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-04-10 16:01:26 +00:00
Russell Bryant
989e617e1f Fix a regression in scheduler entry ordering, and add a regression test for it.
(closes issue #14522)
Reported by: pj
Tested by: russell


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@178022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-23 17:29:16 +00:00
Mark Michelson
5d2a7dea85 Use constants from inttypes.h to clear up 32-bit compilation errors
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@176706 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 22:02:42 +00:00
Russell Bryant
044cf691fe Significantly improve scheduler performance under high load.
This patch changes the scheduler to use a max-heap to store pending scheduler
entries instead of a fully sorted doubly linked list.  When the number of
entries in the scheduler gets large, this will perform much better.  For much
more detailed information on this change, see the review request.

Review: http://reviewboard.digium.com/r/160/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@176639 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 21:04:08 +00:00