Add tests from develop

Added tests from develop. The test results need to be modified for 2.0.
This commit is contained in:
Markus Mäkelä
2017-05-26 15:40:40 +03:00
parent ad109408b5
commit d7d4ec29bb
596 changed files with 48543 additions and 0 deletions

View 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)