[asterisk-dev] [Code Review] 3121: testsuite: Add two ConfBridge tests for Marked/WaitMarked user interaction

Matt Jordan reviewboard at asterisk.org
Mon Jan 13 09:33:58 CST 2014


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

Review request for Asterisk Developers.


Repository: testsuite


Description
-------

This patch includes two tests for ConfBridge:

confbridge_waitmarked_single: This test is a simple Marked/WaitMarked test that verifies basic interaction between Marked and WaitMarked users. In this test, three scenarios are executed:
(1) A scenario that tests that when a WaitMarked user enters first and leaves last, the conference puts them into an INACTIVE state
(2) A scenario that tests that when a Marked user enters first the conference starts, but when the Marked user leaves the WaitMarked user is put into an INACTIVE state
(3) A scenario that tests that a Marked user always keeps the conference active, regardless of a WaitMarked user entering/leaving

confbridge_waitmarked_kick: This test verifies the bug that was fixed in r405217. In it, three WaitMarked users join the ConfBridge, followed by a Marked user. The Marked user is kicked, and then immediately during the user being eject, the three WaitMarked users are also kicked. This test verifies that the ConfBridge conference correctly transitions through the states even in the presence of multiple users of different types being ejected.


Diffs
-----

  /asterisk/trunk/tests/apps/confbridge/tests.yaml 4555 
  /asterisk/trunk/tests/apps/confbridge/confbridge_waitmarked_single/test-config.yaml PRE-CREATION 
  /asterisk/trunk/tests/apps/confbridge/confbridge_waitmarked_single/configs/ast1/extensions.conf PRE-CREATION 
  /asterisk/trunk/tests/apps/confbridge/confbridge_waitmarked_single/configs/ast1/confbridge.conf PRE-CREATION 
  /asterisk/trunk/tests/apps/confbridge/confbridge_waitmarked_kick/test-config.yaml PRE-CREATION 
  /asterisk/trunk/tests/apps/confbridge/confbridge_waitmarked_kick/configs/ast1/extensions.conf PRE-CREATION 
  /asterisk/trunk/tests/apps/confbridge/confbridge_waitmarked_kick/configs/ast1/confbridge.conf PRE-CREATION 
  /asterisk/trunk/lib/python/asterisk/apptest.py 4555 

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


Testing
-------


Thanks,

Matt Jordan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140113/df72b279/attachment.html>


More information about the asterisk-dev mailing list