Stress testing at low cost through parallel execution of unit tests
Abstract
Methods and systems of testing an operating system are described. The operating system is invoked to create a process, the process having a first thread. A test function is repetitively executed in a first thread of the process. These steps are repeated to create processes and to execute the test function in parallel and repetitively in the first thread of the created processes until a given condition is satisfied. For example, the given condition can be a condition in which the operating system resources are exhausted.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 8.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method for testing an operating system, comprising: (a) causing said operating system to create a process having at least a first thread and a second thread; (b) causing two or more test functions to be executed in said first thread, wherein each test function of said two or more test functions is a different test function; (c) causing said two or more test functions to be executed in said second thread; and (d) repeating steps (a), (b), and (c) to cause said operating system to create one or more additional processes each having at least two threads and to cause said tw
- Claim 2Depends on #1
A method as recited in claim 1 , wherein said two or more test functions are executed in parallel in each of said first thread, said second thread, and said at least two threads.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗