Stress testing at low cost through parallel execution of unit tests
First Claim
Patent Images
1. 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 two or more test functions to be executed in each of said at least two threads.
2 Assignments
0 Petitions
Accused Products
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.
-
Citations
30 Claims
-
1. 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 two or more test functions to be executed in each of said at least two threads. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A computer-readable medium for testing an operating system, the computer-readable medium carrying instructions which, when executed by one or more processors, cause performance of the steps of:
-
(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 two or more test functions to be executed in each of said at least two threads. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A mechanism for testing an operating system, the mechanism comprising a memory storing instructions which, when executed by one or more processors, cause performance of the steps of:
-
(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 two or more test functions to be executed in each of said at least two threads. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30)
-
Specification