Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Wadjetz committed Jan 3, 2024
1 parent 155bcc8 commit 8c3d6c2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions editoast/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,17 @@ $ curl -f http://localhost:8090/health

## Tests

To avoid thread conflicts while accessing the database, use the `--test-threads=1` option.
To avoid thread conflicts while accessing the database, use serial_test

```rust
#[test]
#[serial_test::serial]
```

<!--- TODO: when tests are isolated, allow multiple threads (4 may be a good tradeoff for speed/DB pool) --->

```sh
cargo test -- --test-threads=1
cargo test
```

## Useful tools
Expand Down

0 comments on commit 8c3d6c2

Please sign in to comment.