[asterisk-bugs] [JIRA] (ASTERISK-25958) tests/app/mixmonitor: Sporadic failure due to incorrect size

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Apr 25 10:23:56 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-25958?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joshua Colp updated ASTERISK-25958:
-----------------------------------

    Reviewboard Link: https://gerrit.asterisk.org/2697

> tests/app/mixmonitor: Sporadic failure due to incorrect size
> ------------------------------------------------------------
>
>                 Key: ASTERISK-25958
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25958
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Tests/testsuite
>            Reporter: Joshua Colp
>            Assignee: Joshua Colp
>
> The tests/app/mixmonitor executes MixMonitor on some channels and then checks the resulting file size to ensure they are within tolerance. This fails sometimes. After looking at the output and the test there is a race condition where the check occurs before the MixMonitor thread has ended and finished writing out the file, causing the file to be incomplete and the test to fail. The test should wait until the MixMonitor threads have ended before checking file sizes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list