admin: SHOW STATS (#46)

* admin: show stats

* warning

* tests

* lint

* type mod
This commit is contained in:
Lev Kokotov
2022-02-25 18:20:15 -08:00
committed by GitHub
parent 8e0682482d
commit f74101cdfe
7 changed files with 184 additions and 2 deletions

View File

@@ -57,6 +57,10 @@ cd tests/ruby && \
ruby tests.rb && \
cd ../..
# Admin tests
psql -e -h 127.0.0.1 -p 6432 -d pgbouncer -c 'SHOW STATS' > /dev/null
(! psql -e -h 127.0.0.1 -p 6432 -d random_db -c 'SHOW STATS' > /dev/null)
# Start PgCat in debug to demonstrate failover better
start_pgcat "debug"