From eb45d651100107a2b5aa830fd671b2d7444afc35 Mon Sep 17 00:00:00 2001 From: Lev Kokotov Date: Fri, 11 Feb 2022 22:24:27 -0800 Subject: [PATCH] extended protocol tests --- .circleci/run_tests.sh | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.circleci/run_tests.sh b/.circleci/run_tests.sh index 4307e42..c24a59b 100644 --- a/.circleci/run_tests.sh +++ b/.circleci/run_tests.sh @@ -13,12 +13,16 @@ psql -e -h 127.0.0.1 -p 5432 -U postgres -f tests/sharding/query_routing_setup.s pgbench -i -h 127.0.0.1 -p 6432 # Run it -pgbench -h 127.0.0.1 -p 6432 -t 500 -c 2 +pgbench -h 127.0.0.1 -p 6432 -t 500 -c 2 --protocol simple +# Extended protocol +pgbench -h 127.0.0.1 -p 6432 -t 500 -c 2 --protocol extended + +# Sharding insert psql -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_insert.sql +# Sharding select psql -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_select.sql > /dev/null -# psql -f tests/sharding/query_routing_test_validate.sql - -psql -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_primary_replica.sql > /dev/null \ No newline at end of file +# Replica/primary selection & more sharding tests +psql -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_primary_replica.sql > /dev/null