mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 01:16:30 +00:00
admin: SHOW STATS (#46)
* admin: show stats * warning * tests * lint * type mod
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user