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

16
maxscale-system-test/mxs585.py Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env python
###
## @file mxs585.py Regression case for MXS-585 "Intermittent connection failure with MaxScale 1.2/1.3 using MariaDB/J 1.3"
## - open connection, execute simple query and close connection in the loop
import maxpython
test1 = maxpython.MaxScaleTest("mxs585.py")
for i in range(0,100):
if i % 10 == 0:
print(str(i))
test1.maxscale['rwsplit'].query_and_close("select 1")
test1.maxscale['rcmaster'].query_and_close("select 1")
test1.maxscale['rcslave'].query_and_close("select 1")