add tests

This commit is contained in:
Timofey Turenko
2017-05-17 18:16:06 +03:00
committed by Markus Mäkelä
parent dbfd631fed
commit 8c6ca38a8a
594 changed files with 48376 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)