Revision: 15613
Author: gvagenas
Date: Thu Dec  2 14:21:39 2010
Log: Fix for test:
org.mobicents.servlet.sip.testsuite.routing.RegexApplicationRoutingTest.testRegexNotMatching
http://code.google.com/p/mobicents/source/detail?r=15613

Modified:
/branches/servers/sip-servlets/2.0/sip-servlets-test-suite/testsuite/src/test/java/org/mobicents/servlet/sip/testsuite/routing/RegexApplicationRoutingTest.java

=======================================
--- /branches/servers/sip-servlets/2.0/sip-servlets-test-suite/testsuite/src/test/java/org/mobicents/servlet/sip/testsuite/routing/RegexApplicationRoutingTest.java Wed Jul 28 02:26:19 2010 +++ /branches/servers/sip-servlets/2.0/sip-servlets-test-suite/testsuite/src/test/java/org/mobicents/servlet/sip/testsuite/routing/RegexApplicationRoutingTest.java Thu Dec 2 14:21:39 2010
@@ -118,7 +118,9 @@
sender.sendSipRequest("INVITE", fromAddress, toAddress, null, null, false);
                Thread.sleep(TIMEOUT);
                assertTrue(sender.isAckSent());
-               assertTrue(sender.getOkToByeReceived());
+               assertTrue(sender.getOkToByeReceived());
+               //Need to stop tomcat before start the new test.
+               tomcat.stopTomcat();
        }

        public void testRegexNotMatching() throws Exception {

Reply via email to