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:
@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user