Revision: f6a1439269bf
Author: deruelle_jean <deruelle_jean@8e71dc83-d81e-6649-80f2-80b843a9b2be>
Date: Wed Apr 11 13:18:30 2012
Log: trying to fix race conditions on CI cloudbees
git-svn-id: https://svn.java.net/svn/jsip~svn/trunk@2096
8e71dc83-d81e-6649-80f2-80b843a9b2be
http://code.google.com/p/jain-sip/source/detail?r=f6a1439269bf
Modified:
/src/test/unit/gov/nist/javax/sip/stack/ReInviteBusyTest.java
/src/test/unit/gov/nist/javax/sip/stack/TcpMultiThreadDeadlockTest.java
=======================================
--- /src/test/unit/gov/nist/javax/sip/stack/ReInviteBusyTest.java Wed Mar
23 09:35:26 2011
+++ /src/test/unit/gov/nist/javax/sip/stack/ReInviteBusyTest.java Wed Apr
11 13:18:30 2012
@@ -910,7 +910,7 @@
public void tearDown() {
try {
- Thread.sleep(4000);
+ Thread.sleep(10000);
this.shootist.checkState();
this.shootme.checkState();
shootmeProtocolObjs.destroy();
=======================================
--- /src/test/unit/gov/nist/javax/sip/stack/TcpMultiThreadDeadlockTest.java
Thu Dec 2 03:44:16 2010
+++ /src/test/unit/gov/nist/javax/sip/stack/TcpMultiThreadDeadlockTest.java
Wed Apr 11 13:18:30 2012
@@ -269,7 +269,7 @@
properties.setProperty("javax.sip.STACK_NAME", "shootme");
// You need 16 for logging traces. 32 for debug + traces.
// Your code will limp at 32 but it is best for debugging.
- properties.setProperty("gov.nist.javax.sip.TRACE_LEVEL", "0");
+ properties.setProperty("gov.nist.javax.sip.TRACE_LEVEL", "16");
properties.setProperty("gov.nist.javax.sip.DEBUG_LOG",
"shootmedebug.txt");
properties.setProperty("gov.nist.javax.sip.SERVER_LOG",
@@ -459,7 +459,7 @@
// Set to 0 (or NONE) in your production code for max speed.
// You need 16 (or TRACE) for logging traces. 32 (or DEBUG)
for debug + traces.
// Your code will limp at 32 but it is best for debugging.
- properties.setProperty("gov.nist.javax.sip.TRACE_LEVEL", "0");
+ properties.setProperty("gov.nist.javax.sip.TRACE_LEVEL", "16");
properties.setProperty("gov.nist.javax.sip.TCP_POST_PARSING_THREAD_POOL_SIZE", "10");
properties.setProperty("javax.sip.AUTOMATIC_DIALOG_SUPPORT", "off");
properties.setProperty("gov.nist.javax.sip.AUTOMATIC_DIALOG_ERROR_HANDLING","false");
@@ -656,7 +656,7 @@
this.shootme.init();
this.shootist.init();
try {
- Thread.sleep(10000);
+ Thread.sleep(15000);
} catch (Exception ex) {
}