[Home]

Summary:ASTERISK-25958: tests/app/mixmonitor: Sporadic failure due to incorrect size
Reporter:Joshua C. Colp (jcolp)Labels:
Date Opened:2016-04-25 09:23:05Date Closed:2016-04-25 15:18:21
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Tests/testsuite
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description: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.
Comments: