Update README with some test info

This commit is contained in:
benoit 2021-12-31 16:17:21 +01:00
parent b1611e2f78
commit e663695b26
2 changed files with 22 additions and 0 deletions

View file

@ -319,3 +319,12 @@ Options:
```
## test
The pytests are in `./test` and use a moker to provide a json response instead
of having to call the patroni API.
A vagrant file is available to create a icinga / opm / grafana stack and
install check_patroni. You can then add a server to the supervision and
watch the graphs in grafana. It's in `./test/vagrant`.

View file

@ -107,3 +107,16 @@ helpme node_tl_has_changed
cat << _EOF_ >> $README
_EOF_
cat << '_EOF_' >> $README
## test
The pytests are in `./test` and use a moker to provide a json response instead
of having to call the patroni API.
A vagrant file is available to create a icinga / opm / grafana stack and
install check_patroni. You can then add a server to the supervision and
watch the graphs in grafana. It's in `./test/vagrant`.
_EOF_