Skip to content

Commit

Permalink
mark README test as ignore + include the bench binary
Browse files Browse the repository at this point in the history
  • Loading branch information
ma2bd committed Sep 1, 2021
1 parent 174c121 commit ff0f3f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ grep "$ACCOUNT1" accounts.json
# Kill servers
kill %1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12 %13 %14 %15 %16

# Additional local benchmark
./bench

cd ../..
```

Expand Down
1 change: 1 addition & 0 deletions fastpay/tests/readme.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ use std::{io::Write, process::Command};
use tempfile::tempdir;

#[test]
#[ignore]
fn test_examples_in_readme() -> std::io::Result<()> {
let dir = tempdir().unwrap();
let file = std::io::BufReader::new(std::fs::File::open("../README.md")?);
Expand Down

0 comments on commit ff0f3f1

Please sign in to comment.