[test-results] [Bamboo] Asterisk Testing > Asterisk 1.8 Branch > #470 has FAILED. Change made by dlee.

Bamboo bamboo at asterisk.org
Thu Nov 15 17:10:52 CST 2012


-----------------------------------------------------------------------
Asterisk Testing > Asterisk 1.8 Branch > #470 failed.
-----------------------------------------------------------------------
Code has been updated by dlee.
No failed tests found, a possible compilation error.

http://bamboo.asterisk.org/browse/TESTING-ASTERISK18BRANCH-470/


--------------
Failing Jobs
--------------
  - Asterisk 1.8 CentOS 6 64-Bit (CentOS 6): No tests found.



--------------
Code Changes
--------------
dlee (376306):

>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/
>



--
This message is automatically generated by Atlassian Bamboo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/test-results/attachments/20121115/22875d3a/attachment-0001.htm>


More information about the Test-results mailing list