chaos

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: AGPL-3.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package chaos holds the Go-test entry point of the chaos suite: it runs every built-in chaos-* scenario (internal/loadtest/scenario/library) end to end against a real sqi-server, with simulated workers and real sqi-worker processes, while the scenario's faults kill, stall and cut them, and fails on any invariant the run breaks that the scenario does not expect.

This file carries no build tag. The tests are behind the "chaos" tag, and a package whose files are all excluded by build constraints is a build error for the wildcard patterns that `make test-integration` (./test/...) and the lint targets expand; this file keeps the package well-formed when the tag is absent.

Run it with `make chaos` (SCENARIO=chaos-... for one) or `make chaos-smoke`. SQI_CHAOS_STORE=postgres runs the scenarios on PostgreSQL, which needs SQI_TEST_POSTGRES_DSN; SQI_LOAD_OUT names the directory the runs are written to.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL