Package: golang-github-pingcap-failpoint-dev
Source: golang-github-pingcap-failpoint
Version: 0.0~git20240528.b51a646-1
Architecture: all
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian Go Packaging Team <team+pkg-go@tracker.debian.org>
Installed-Size: 190
Depends: golang-github-pingcap-errors-dev, golang-github-pkg-errors-dev, golang-github-sergi-go-diff-dev, golang-github-stretchr-testify-dev, golang-golang-x-mod-dev, golang-uber-goleak-dev
Suggests: failpoint-tools
Section: golang
Priority: optional
Multi-Arch: foreign
Homepage: https://github.com/pingcap/failpoint
Description: 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.
