Revision: 15576
Author: [email protected]
Date: Tue Nov 30 10:36:43 2010
Log: Fixes test
org.mobicents.servlet.sip.testsuite.timers.TimersSipServletTest.testTimerReloading()
http://code.google.com/p/mobicents/source/detail?r=15576
Modified:
/branches/servers/sip-servlets/2.0/sip-servlets-test-suite/testsuite/src/test/java/org/mobicents/servlet/sip/testsuite/timers/TimersSipServletTest.java
=======================================
---
/branches/servers/sip-servlets/2.0/sip-servlets-test-suite/testsuite/src/test/java/org/mobicents/servlet/sip/testsuite/timers/TimersSipServletTest.java
Thu Sep 2 02:53:35 2010
+++
/branches/servers/sip-servlets/2.0/sip-servlets-test-suite/testsuite/src/test/java/org/mobicents/servlet/sip/testsuite/timers/TimersSipServletTest.java
Tue Nov 30 10:36:43 2010
@@ -190,7 +190,10 @@
assertTrue(sender.getAllMessagesContent().contains("timerExpired"));
tomcat.undeployContext(context);
- tomcat.deployContext(context);
+
+ //Deploy again the application as a new context, otherwise will try to
start the old context which is already destroyed
+ deployApplication();
+// tomcat.deployContext(context);
sender.getAllMessagesContent().clear();
sender.sendSipRequest("INVITE", fromAddress, toAddress, null, null,
false);