Add tests from develop
Added tests from develop. The test results need to be modified for 2.0.
This commit is contained in:
16
maxscale-system-test/nsfilter.py
Executable file
16
maxscale-system-test/nsfilter.py
Executable file
@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import maxpython
|
||||
|
||||
test = maxpython.MaxScaleTest("nsfilter")
|
||||
|
||||
server_id = []
|
||||
|
||||
for conn in test.repl:
|
||||
server_id[conn] = conn.query("SELECT @@server_id")
|
||||
|
||||
nomatch = test.maxscale['rwsplit'].query("SELECT @@server_id")
|
||||
match = test.maxscale['rwsplit'].query("SELECT \"test\", @@server_id")
|
||||
|
||||
print(nomatch)
|
||||
print(match)
|
Reference in New Issue
Block a user