[svn-commits] mjordan: testsuite/asterisk/trunk r3488 - /asterisk/trunk/tests/apps/confbrid...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Oct 8 13:36:41 CDT 2012


Author: mjordan
Date: Mon Oct  8 13:36:37 2012
New Revision: 3488

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=3488
Log:
Make the confbridge_nominal test tolerant to longer run times

Now that the user counts are actually being announce to both the user and
the bridge when the user/bridge profiles specify that they should be, the
test takes longer to run.  Push back the reactor timeout appropriately.

Modified:
    asterisk/trunk/tests/apps/confbridge/confbridge_nominal/run-test

Modified: asterisk/trunk/tests/apps/confbridge/confbridge_nominal/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/trunk/tests/apps/confbridge/confbridge_nominal/run-test?view=diff&rev=3488&r1=3487&r2=3488
==============================================================================
--- asterisk/trunk/tests/apps/confbridge/confbridge_nominal/run-test (original)
+++ asterisk/trunk/tests/apps/confbridge/confbridge_nominal/run-test Mon Oct  8 13:36:37 2012
@@ -78,6 +78,7 @@
     def __handle_pin(self, channel):
         """ Handles a user entering a pin to the ConfBridge """
         number_to_send = "1111#"
+        self.testCase.reset_timeout()
         if channel in self.calls:
             if "admin_profile" in self.calls[channel].profile:
                 number_to_send = "2222#"
@@ -90,6 +91,7 @@
         """ Handles when the ConfBridge notifies the users that someone has joined """
 
         """ We'll hear this twice for each channel that joins """
+        self.testCase.reset_timeout()
         if channel == self.__bridge_channel:
             self.__joined_bridges += 1
             if (self.__joined_bridges == len(self.calls)):




More information about the svn-commits mailing list