test.unit.gov.nist.javax.sip.stack
Class StackQueueCongestionControlTest

java.lang.Object
  extended by TestCase
      extended by 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

Nested Class Summary
 class StackQueueCongestionControlTest.Shootist
           
 class StackQueueCongestionControlTest.Shootme
           
 
Constructor Summary
StackQueueCongestionControlTest()
           
 
Method Summary
 void plusTest()
           
 void setUp()
           
 void tearDown()
           
 void testTCPCongestionControlOff()
           
 void testTCPHugeLoss()
           
 void testTCPNoThreadpool()
           
 void testTCPZeroLostMessages()
           
 void testUDPHugeLoss()
           
 void testUDPIdle()
           
 void testUDPNoThreadpool()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackQueueCongestionControlTest

public StackQueueCongestionControlTest()
Method Detail

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 © 2014. All Rights Reserved.