Skip to content

Commit eb45d65

Browse files
committed
extended protocol tests
1 parent 526b9eb commit eb45d65

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.circleci/run_tests.sh

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,16 @@ psql -e -h 127.0.0.1 -p 5432 -U postgres -f tests/sharding/query_routing_setup.s
1313
pgbench -i -h 127.0.0.1 -p 6432
1414

1515
# Run it
16-
pgbench -h 127.0.0.1 -p 6432 -t 500 -c 2
16+
pgbench -h 127.0.0.1 -p 6432 -t 500 -c 2 --protocol simple
1717

18+
# Extended protocol
19+
pgbench -h 127.0.0.1 -p 6432 -t 500 -c 2 --protocol extended
20+
21+
# Sharding insert
1822
psql -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_insert.sql
1923

24+
# Sharding select
2025
psql -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_select.sql > /dev/null
2126

22-
# psql -f tests/sharding/query_routing_test_validate.sql
23-
24-
psql -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_primary_replica.sql > /dev/null
27+
# Replica/primary selection & more sharding tests
28+
psql -e -h 127.0.0.1 -p 6432 -f tests/sharding/query_routing_test_primary_replica.sql > /dev/null

0 commit comments

Comments
 (0)