test.unit.gov.nist.javax.sip.stack
Class StackQueueCongestionControlTest
java.lang.Object
TestCase
test.unit.gov.nist.javax.sip.stack.StackQueueCongestionControlTest
public class StackQueueCongestionControlTest
- 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 |
StackQueueCongestionControlTest
public StackQueueCongestionControlTest()
setUp
public void setUp()
tearDown
public void tearDown()
testTCPZeroLostMessages
public void testTCPZeroLostMessages()
testUDPHugeLoss
public void testUDPHugeLoss()
testUDPIdle
public void testUDPIdle()
testUDPNoThreadpool
public void testUDPNoThreadpool()
testTCPNoThreadpool
public void testTCPNoThreadpool()
testTCPCongestionControlOff
public void testTCPCongestionControlOff()
testTCPHugeLoss
public void testTCPHugeLoss()
plusTest
public void plusTest()
Copyright © 2012. All Rights Reserved.