[asterisk-dev] [Code Review] 2812: Testsuite: Fix intermittent bridge test failures

svnbot reviewboard at asterisk.org
Thu Sep 5 10:46:59 CDT 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2812/
-----------------------------------------------------------

(Updated Sept. 5, 2013, 10:46 a.m.)


Status
------

This change has been marked as submitted.


Review request for Asterisk Developers, Matt Jordan, Mark Michelson, and rmudgett.


Changes
-------

Committed in revision 4110


Repository: testsuite


Description
-------

Prior to this patch, bridge tests (I'm thinking all of them now) would fail intermittently in 12/trunk due to possible variance in entry order when it comes to receiving bridge entry events. This test module was written with the assumption that Alice would always enter first while testing revealed that it was possible (though slightly rare) for Bob to enter first. According to Richard, entry order one way or another is not guaranteed.


Diffs
-----

  /asterisk/trunk/lib/python/asterisk/BridgeTestCase.py 4081 

Diff: https://reviewboard.asterisk.org/r/2812/diff/


Testing
-------

Prior to patch:
   Ran bridge/parkcall_blindxfer test 25 times (test involves 5 separate call scenarios, so basically this is 125 tests against bridge_enter)
   Test failed 6 of the 25 times, each time due to Bob entering first.

Post patch:
   Ran bridge/parkcall_blindxfer test 25 times
   Test didn't fail ever.


Thanks,

jrose

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130905/b4e6582c/attachment.htm>


More information about the asterisk-dev mailing list