[Home]

Summary:ASTERISK-24211: testsuite: Fix the dial_LS_options test
Reporter:Matt Jordan (mjordan)Labels:
Date Opened:2014-08-12 09:22:28Date Closed:2014-09-12 13:36:24
Priority:MajorRegression?
Status:Closed/CompleteComponents:Tests/testsuite
Versions:11.11.0 Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The {{dial_LS_options}} test fails consistently on Asterisk 11 only:

{code}
Running ['./lib/python/asterisk/test_runner.py', 'tests/bridge/dial_LS_options'] ...
[Aug 10 05:50:11] ERROR[11151]: Tester:94 check_duration: Call duration was 11.755710 but we expected 10.000000 (+/- 0.5 sec)
[Aug 10 05:50:41] WARNING[11151]: test_case:444 _reactor_timeout: Reactor timeout: '30' seconds
[Aug 10 05:50:41] ERROR[11151]: test_case:559 evaluate_results: Fail token present: BridgeTestCase hasn't raised the flag to indicate completion of all expected calls.
{code}

The duration is always far longer than it should be. This is due to the bridge layer constantly bouncing between a direct media native bridge and a core bridge. The logs are full of re-INVITEs back and forth between the 'phone' Asterisk instances and the instance managing the bridge.
Comments: