[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 09:24:56 CDT 2016


Joshua Colp created ASTERISK-25958:
--------------------------------------

             Summary: 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


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