tree: ed749e3bfedb04b5f36b02b68eee8c8a0632cf35 [path history] [tgz]
  1. src/
  2. BUILD.gn
  3. METADATA.textproto
  4. OWNERS
  5. README.md
src/sys/lib/stress-test/README.md

Stress Test Library

This library provides convenience functions to create and run stress tests.

A stress test comprises of the following public concepts:

  • Environment: Exists for the entire duration of the stress test
  • Actor: Performs operations of a particular type

Test writers must write an environment and multiple actors.

This library offers functions to host the environment and the actors in it for:

  • a given time limit
  • a given number of operations

Actors can either do work or attempt to interfere with the state of the environment. As a result, an actor can request the environment to be reset after an operation.