Revision: f4f555fa350c
Author: Jean Deruelle <[email protected]>
Date: Fri Jun 8 02:41:32 2012
Log: fixing test due to NIO as RFC5626 is not supported yet the NIO
branch
http://code.google.com/p/sipservlets/source/detail?r=f4f555fa350c
Modified:
/sip-servlets-test-suite/testsuite/src/test/java/org/mobicents/servlet/sip/testsuite/simple/rfc5626/RFC5626KeepAliveSipServletTest.java
=======================================
---
/sip-servlets-test-suite/testsuite/src/test/java/org/mobicents/servlet/sip/testsuite/simple/rfc5626/RFC5626KeepAliveSipServletTest.java
Thu Mar 22 08:13:18 2012
+++
/sip-servlets-test-suite/testsuite/src/test/java/org/mobicents/servlet/sip/testsuite/simple/rfc5626/RFC5626KeepAliveSipServletTest.java
Fri Jun 8 02:41:32 2012
@@ -22,6 +22,7 @@
package org.mobicents.servlet.sip.testsuite.simple.rfc5626;
+import gov.nist.javax.sip.stack.OIOMessageProcessorFactory;
import gov.nist.javax.sip.stack.SIPTransactionStack;
import java.io.File;
@@ -291,6 +292,11 @@
sipStackProperties.setProperty("gov.nist.javax.sip.MAX_FORK_TIME_SECONDS", "1");
sipStackProperties.setProperty(SipStandardService.LOOSE_DIALOG_VALIDATION, "true");
sipStackProperties.setProperty(SipStandardService.PASS_INVITE_NON_2XX_ACK_TO_LISTENER, "true");
+ // Not Supported by NIO yet
+ sipStackProperties.setProperty("gov.nist.javax.sip.USE_NIO",
+ "false");
+
sipStackProperties.setProperty("gov.nist.javax.sip.MESSAGE_PROCESSOR_FACTORY",
+ OIOMessageProcessorFactory.class.getName());
return sipStackProperties;
}