mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-28 03:06:29 +00:00
fixed health check; sharding setup and tests
This commit is contained in:
12
tests/sharding/query_routing.sh
Normal file
12
tests/sharding/query_routing.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
#/bin/bash
|
||||
|
||||
# Setup all the shards.
|
||||
sudo service postgresql restart
|
||||
|
||||
psql -f query_routing_setup.sql
|
||||
|
||||
psql -h 127.0.0.1 -p 6432 -f query_routing_test_insert.sql
|
||||
|
||||
psql -h 127.0.0.1 -p 6432 -f query_routing_test_select.sql
|
||||
|
||||
psql -f query_routing_test_validate.sql
|
||||
Reference in New Issue
Block a user