Skip to content
This repository was archived by the owner on Apr 4, 2024. It is now read-only.

Commit 29efb00

Browse files
committed
*: minor fix
Signed-off-by: Chojan Shang <[email protected]>
1 parent c2aedee commit 29efb00

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "failpoints"
33
version = "0.1.0"
44
authors = ["RiteLabs"]
5-
license = "Apache-2.0"
5+
license = "Apache-2.0 OR MIT"
66
keywords = ["failpoints", "fail"]
77
repository = "https://github.com/ritelabs/failpoints"
88
readme = "README.md"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# failpoints, another fail-rsS
1+
# failpoints, another fail-rs
22

33
[![CI](https://github.com/ritelabs/failpoints/workflows/CI/badge.svg)](https://github.com/ritelabs/failpoints/actions)
44
[![Crates.io](https://img.shields.io/crates/v/failpoints.svg?maxAge=2592000)](https://crates.io/crates/failpoints)
@@ -7,7 +7,7 @@
77

88
A failpoints implementation for Rust.
99

10-
Fail points are code instrumentations that allow errors and other behavior to be injected dynamically at runtime, primarily for testing purposes. Fail points are flexible and can be configured to exhibit a variety of behavior, including panics, early returns, and sleeping. They can be controlled both programmatically and via the environment, and can be triggered conditionally and probabilistically.
10+
Failpoints are code instrumentations that allow errors and other behavior to be injected dynamically at runtime, primarily for testing purposes. Fail points are flexible and can be configured to exhibit a variety of behavior, including panics, early returns, and sleeping. They can be controlled both programmatically and via the environment, and can be triggered conditionally and probabilistically.
1111

1212
This crate is inspired by FreeBSD's [failpoints](https://freebsd.org/cgi/man.cgi?query=fail).
1313

tests/tests.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Copyright 2019 TiKV Project Authors. Licensed under Apache-2.0.
2+
// Copyright 2021 RiteLabs. Licensed under Apache-2.0 OR MIT.
23

34
use std::sync::atomic::{AtomicUsize, Ordering};
45
use std::sync::*;

0 commit comments

Comments
 (0)