asterisk/utils
Automerge script e8898ec8ba Merged revisions 376341,376344-376345 via svnmerge from
file:///srv/subversion/repos/asterisk/trunk

................
  r376341 | dlee | 2012-11-15 18:08:00 -0600 (Thu, 15 Nov 2012) | 34 lines
  
  Migrate hashtest/hashtest2 to be unit tests.
  
  Both hashtest and hashtest2 are manual testing apps that thrash hash
  tables (hashtab and ao2 containers, respectively), by spinning up
  several threads that randomly insert, delete, lookup and iterate over
  the hash table. If the app doesn't crash, the hash table probably passes
  the test. Those utils are not a part of the typical Asterisk build, so
  they do not usually get compiled. This all makes them less that useful.
  
  This patch removes those manual test programs and replaces them with
  Asterisk unit test modules (test_{hashtab,astobj2}_thrash.so). It also
  attempts to make the tests more deterministic.
  
  * Rather than spinning up some number of threads that operate on the
    hash table randomly, spin up four threads that concurrenly add,
    remove, lookup and iterate over the hash table.
  * Each thread checks the state of the hash table both during and after
    execution, and indicates a test failure if things are not as expected.
  * Each thread times out after 60 seconds to prevent deadlocking the unit
    test run.
  
  (closes issue ASTERISK-20505)
  Reported by: Matt Jordan
  Review: https://reviewboard.asterisk.org/r/2189/
  ........
  
  Merged revisions 376306 from http://svn.asterisk.org/svn/asterisk/branches/1.8
  ........
  
  Merged revisions 376315 from http://svn.asterisk.org/svn/asterisk/branches/10
  ........
  
  Merged revisions 376339 from http://svn.asterisk.org/svn/asterisk/branches/11
................
  r376344 | dlee | 2012-11-15 18:14:00 -0600 (Thu, 15 Nov 2012) | 1 line
  
  Somehow I put in svn-1.6 merge information. Oops.
................
  r376345 | dlee | 2012-11-15 18:15:30 -0600 (Thu, 15 Nov 2012) | 15 lines
  
  Fixed extconf.c breakage introduced in r376306.
  
  To quote wdoekes:
  > Note that I'm not confirming legitimacy of having that file in tree at
  > all. Is anyone using aelparse/conf2ael?
  ........
  
  Merged revisions 376340 from http://svn.asterisk.org/svn/asterisk/branches/1.8
  ........
  
  Merged revisions 376342 from http://svn.asterisk.org/svn/asterisk/branches/10
  ........
  
  Merged revisions 376343 from http://svn.asterisk.org/svn/asterisk/branches/11
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/team/mmichelson/threadpool@376352 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-11-16 00:19:48 +00:00
..
db1-ast Replace Berkeley DB with SQLite 3 2011-07-06 20:58:12 +00:00
Makefile Merged revisions 376341,376344-376345 via svnmerge from 2012-11-16 00:19:48 +00:00
ael_main.c Enable macros in 1.8 to find the next highest "h" extension in a context, like in 1.4. 2012-03-13 08:06:20 +00:00
astcanary.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
astdb2bdb.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
astdb2sqlite3.c Multiple revisions 369001-369002 2012-06-15 16:20:16 +00:00
astman.1 remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
astman.c Fix incorrect sizeof() in astman. 2012-03-14 00:45:02 +00:00
check_expr.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
clicompat.c simplify this file 2007-12-10 08:35:35 +00:00
conf2ael.c Enable macros in 1.8 to find the next highest "h" extension in a context, like in 1.4. 2012-03-13 08:06:20 +00:00
expr2.testinput Merged revisions 179807 via svnmerge from 2009-03-03 22:12:02 +00:00
extconf.c Merged revisions 376341,376344-376345 via svnmerge from 2012-11-16 00:19:48 +00:00
frame.c AST-2009-005 2009-08-10 19:20:57 +00:00
frame.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
muted.c Doxygen Updates 2012-10-14 21:57:42 +00:00
refcounter.c Doxygen Updates Janitor Work 2012-09-22 20:43:30 +00:00
smsq.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
stereorize.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
streamplayer.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
utils.xml Merged revisions 376341,376344-376345 via svnmerge from 2012-11-16 00:19:48 +00:00