all options
forky  ] [  sid  ]
[ Source: golang-github-pingcap-failpoint  ]

Package: golang-github-pingcap-failpoint-dev (0.0~git20240528.b51a646-1)

Links for golang-github-pingcap-failpoint-dev

Screenshot

Debian Resources:

Download Source Package golang-github-pingcap-failpoint:

Maintainers:

External Resources:

Similar packages:

failpoint injection framework for Go (library)

This Go library provides a powerful mechanism for injecting errors and abnormal behaviors into code for testing and debugging purposes. It enables developers to simulate various failure scenarios, such as network outages, I/O errors, or specific function return values, without modifying the core application logic.

The framework uses markers in the source code which are then processed by a tool to inject the failpoints. It supports various actions like returning values, sleeping, panicking, or pausing execution. Failpoints can be enabled conditionally based on probabilities or counts, and can be controlled programmatically at runtime. It also supports context-based evaluation of failpoints.

Other Packages Related to golang-github-pingcap-failpoint-dev

  • depends
  • recommends
  • suggests
  • enhances

Download golang-github-pingcap-failpoint-dev

Download for all available architectures
Architecture Package Size Installed Size Files
all 25.6 kB190.0 kB [list of files]