[test-results] [Bamboo] Asterisk - 1.8 > Ubuntu Lucid (10.04) > #882 has FAILED. Change made by Terry Wilson.

Bamboo bamboo at asterisk.org
Tue Oct 25 20:26:19 CDT 2011


-----------------------------------------------------------------------
Asterisk - 1.8 > Ubuntu Lucid (10.04) > #882 failed.
-----------------------------------------------------------------------
Code has been updated by Terry Wilson.
No failed tests found, a possible compilation error.

http://bamboo.asterisk.org/browse/AST18-LUCID-882/


--------------
Failing Jobs
--------------
  - amd64 (Default Stage): No tests found.


--------------
Code Changes
--------------
Terry Wilson (342383):

>Simplify queue membercount code
>
>Despite an ominous sounding comment stating that membercount was for "logged
>in" members only and thus we couldn't use ao2_container_count(), I could not
>find a single place in the code where that seemed to be accurate. The only time
>we decremented membercount was when we were marking something dead or actually
>removing it. The only places we incremented it were either after ao2_link(), or
>trying to correct for having set it to 0 during a reload. In every case where
>we were correcting the value, it seemed that we were trying to make the count
>actually match what ao2_container_count() would return. The only place I could
>find where we made a determination about something being "logged in" or not, we
>didn't trust the membercount, but instead looked at devicestate, paused, etc.
>
>This patch removes membercount, replaces its use with ao2_container_count, and
>manually adds the results of ao2_container_count to a "membercount" field for
>ast_data queue query results. This patch also would fix AST-676, but as it is
>slightly riskier than the previously committed fix, the two commits have been
>made separately.
>
>Reivew: https://reviewboard.asterisk.org/r/1541/
>


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


More information about the Test-results mailing list