Added a simple test for dbshard router.

The test sets a session variable and queries a union of this variable and a value in each of the databases.
This commit is contained in:
Markus Makela
2014-12-17 13:44:44 +02:00
parent 6013009c13
commit e6fca9b50d
5 changed files with 230 additions and 0 deletions

View File

@ -32,6 +32,9 @@ macro(set_variables)
# port of read/write split router module
set(TEST_PORT_RW "4006" CACHE STRING "port of read/write split router module")
# port of dbshard router module
set(TEST_PORT_DB "4010" CACHE STRING "port of dbshard router module")
# port of read/write split router module with hints
set(TEST_PORT_RW_HINT "4006" CACHE STRING "port of read/write split router module with hints")