[asterisk-commits] mmichelson: branch mmichelson/v6tests r482 - /asterisk/team/mmichelson/v6test...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 12 17:44:39 CDT 2010


Author: mmichelson
Date: Mon Jul 12 17:44:36 2010
New Revision: 482

URL: http://svnview.digium.com/svn/testsuite?view=rev&rev=482
Log:
Move SIPp scenarios to start after AMI login has succeeded.

I believe tests were failing before because AMI login had not
finished before the SIPp scenarios had concluded. Both tests
are still passing, but the testsuite is claiming that the v4
test is not. Something's up, and I'm the one who's going to
figure it out. *puts on sunglasses*


Modified:
    asterisk/team/mmichelson/v6tests/tests/sip_register/run-test

Modified: asterisk/team/mmichelson/v6tests/tests/sip_register/run-test
URL: http://svnview.digium.com/svn/testsuite/asterisk/team/mmichelson/v6tests/tests/sip_register/run-test?view=diff&rev=482&r1=481&r2=482
==============================================================================
--- asterisk/team/mmichelson/v6tests/tests/sip_register/run-test (original)
+++ asterisk/team/mmichelson/v6tests/tests/sip_register/run-test Mon Jul 12 17:44:36 2010
@@ -47,6 +47,8 @@
         self.logLastStep("Connected to the AMI")
         self.ami = ami
         self.ami.registerEvent("PeerStatus", self.checkRegisterResult)
+        self.startSipp("v4", "127.0.0.1", "registerv4.xml", "5061")
+        self.startSipp("v6", "[::1]", "registerv6.xml", "5062")
 
     def amiLoginError(self, ami):
         self.logLastStep("AMI login failed")
@@ -116,8 +118,6 @@
     def run(self):
         self.startAsterisk()
         self.amiLogin()
-        self.startSipp("v4", "127.0.0.1", "registerv4.xml", "5061")
-        self.startSipp("v6", "[::1]", "registerv6.xml", "5062")
         reactor.callLater(5, self.shutDown)
 
 def main(argv=None):




More information about the asterisk-commits mailing list