Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
Shut down server
Browse files Browse the repository at this point in the history
  • Loading branch information
richfitz committed Oct 18, 2023
1 parent eba7ca6 commit 173a17c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions development.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ or see the commands to do this outselves:
privateer2 --path tmp/privateer.json --as=bob restore data --dry-run
```

Tear down the server with

```
privateer2 --path tmp/privateer.json --as=alice server stop
```

## Writing tests

We use a lot of global resources, so it's easy to leave behind volumes and containers (often exited) after running tests. At best this is lazy and messy, but at worst it creates hard-to-diagnose dependencies between tests. Try and create names for auto-cleaned volumes and containers using the `managed_docker` fixture (see [`tests/conftest.py`](tests/conftest.py) for details).

0 comments on commit 173a17c

Please sign in to comment.