Adaptive Testcase Timeout
Original Publication Date: 2001-Nov-16
Included in the Prior Art Database: 2003-Jun-20
A program is disclosed that overcomes the problem of running a testcase (small program used to test some aspect of a system) with a fixed timeout in different environments with different performances. The timeout sets the maximum time the testcase is expected to run, however we would expect the testcase to take different times to run in different environments. Other things that can affect the run time is other software that is running and other user activity. This program causes the timeout to be changed depending on the performance of the environment it is running in. This is done as follows: 1. Before the testcase runs a benchmark is run to determine the performance of the environment. On a 'standard' system the benchmark would take 1 second to run. 2. The 'standard' timeout associated with the testcase is then multiplied by the number of seconds the benchmark took to run.