test.unit.gov.nist.javax.sip.stack
Class TcpMultiThreadDeadlockTest
java.lang.Object
TestCase
test.unit.gov.nist.javax.sip.stack.TcpMultiThreadDeadlockTest
public class TcpMultiThreadDeadlockTest
- extends TestCase
Testing for deadlock under massive load on the same call.
This testcase reproduces deadlock that occurs most frequently with TCP thread pool size set to 1
from this issue https://jain-sip.dev.java.net/issues/show_bug.cgi?id=301
Other related issue is here http://code.google.com/p/mobicents/issues/detail?id=1810
The test sends couple of thousands 180 Ringing responses in order to stall the UAC thread.
The issue is more easily reproducible without debug logs - 300 vs 1000 messages on average
- Author:
- vralev
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TcpMultiThreadDeadlockTest
public TcpMultiThreadDeadlockTest()
setUp
public void setUp()
tearDown
public void tearDown()
testStressMessageSerialization
public void testStressMessageSerialization()
Copyright © 2012. All Rights Reserved.