mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-31 13:54:27 +01:00
Add fault injection steps to CONTRIBUTING.md
This commit is contained in:
@@ -211,6 +211,21 @@ Once Maturin is installed, you can build the crate and install it as a Python mo
|
||||
cd bindings/python && maturin develop
|
||||
```
|
||||
|
||||
## Fault injection with unreliable libc
|
||||
|
||||
First, build the unreliable libc:
|
||||
|
||||
```
|
||||
cd testing/unreliable-libc
|
||||
make
|
||||
```
|
||||
|
||||
The run the stress testing tool with fault injection enabled:
|
||||
|
||||
```
|
||||
RUST_BACKTRACE=1 LD_PRELOAD=./testing/unreliable-libc/unreliable-libc.so cargo run -p turso_stress -- --nr-iterations 10000
|
||||
```
|
||||
|
||||
## Antithesis
|
||||
|
||||
Antithesis is a testing platform for finding bugs with reproducibility. In
|
||||
|
||||
Reference in New Issue
Block a user