Package org.tanukisoftware.wrapper.test
package org.tanukisoftware.wrapper.test
-
ClassesClassDescriptionThis is test is designed to simulate various deadlock cases using either ReentrantLock instances or synchronized objects.This is test is designed to simulate a series of deadlock cases using ReentrantLocks, which will can be detected and restarted by the Standard Edition.This is test is designed to simulate a series of deadlock cases using standard Object synchronization, which will can be detected and restarted by the Standard Edition.A print stream which can be put into a state in which all calls to write to it will result in the calling threads deadlocking in the call.This is test is designed to simulate a series of deadlock cases using ReentrantLocks, which will can be detected and restarted by the Standard Edition.This test is designed to make sure the Wrapper handles the case where the JVM is restarted while the Wrapper is blocking due to a long disk IO queue.This class tests the ability to write to the output stream of a subprocess and to read the input stream of that same process.This test was created to test timeout problems under heavily loaded conditions.Test case which launched several threads and lets them run for 30 seconds.Test case which launched several threads and lets them run for 30 seconds.This is a Test / Example program which can be used to test the main features of the Wrapper.This is a simple test to see how the WrapperManager behaves when a main class designed for Integration Method #3 is called using Integration Method #2.Tests Bug #531880 where % characters in the text output were causing the wrapper to crash.Can be run without the Wrapper as: java -classpath lib/wrappertest.jar org.tanukisoftware.wrapper.test.Performance NOTE - This class intentionally does not use resources for localization because it needs to be able to be run without the Wrapper components being loaded.This is a very simple test of how a main class using Integration Method #3 works.This test is to make sure the Wrapper handles applications whose stop method take too much time to complete.This test is to make sure the Wrapper works correctly when stop or restart is called before the start method has completed.This test is to make sure that property values set in the wrapper config file are handled and passed into the JVM as expected.This test is designed to make sure the Wrapper handles the case where the JVM is restarted while the Wrapper is blocking due to a long disk IO queue.