44
44
# other coolness easier in the future
46
46
# get our mode-specific testManager and Executor
47
from dbqp_modes.drizzle_test_run.dtr_test_management import testManager
48
from dbqp_modes.drizzle_test_run.dtr_test_execution import testExecutor as testExecutor
47
from drizzle_test_run.dtr_test_management import testManager
48
from drizzle_test_run.dtr_test_execution import testExecutor as testExecutor
50
50
elif test_mode == 'randgen':
51
51
# randgen mode - we run the randgen grammar against
52
52
# the specified server configs and report the randgen error code
54
54
# get manager and executor
55
from dbqp_modes.randgen.randgen_test_management import testManager
56
from dbqp_modes.randgen.randgen_test_execution import randgenTestExecutor as testExecutor
55
from randgen.randgen_test_management import testManager
56
from randgen.randgen_test_execution import randgenTestExecutor as testExecutor
58
58
elif test_mode == 'sysbench':
59
59
# sysbench mode - we have a standard server setup
60
60
# and a variety of concurrencies we want to run
62
62
# get manager and executor
63
from dbqp_modes.sysbench.sysbench_test_management import testManager
64
from dbqp_modes.sysbench.sysbench_test_execution import sysbenchTestExecutor as testExecutor
63
from sysbench.sysbench_test_management import testManager
64
from sysbench.sysbench_test_execution import sysbenchTestExecutor as testExecutor
66
66
elif test_mode == 'sqlbench':
67
67
# sqlbench mode - we execute all test sql-bench tests
70
70
# get manager and executor
71
from dbqp_modes.sqlbench.sqlbench_test_management import testManager
72
from dbqp_modes.sqlbench.sqlbench_test_execution import sqlbenchTestExecutor as testExecutor
71
from sqlbench.sqlbench_test_management import testManager
72
from sqlbench.sqlbench_test_execution import sqlbenchTestExecutor as testExecutor
74
74
elif test_mode == 'crashme':
75
75
# crashme mode - see if the server lives : )
76
76
# get manager and executor
77
from dbqp_modes.sqlbench.sqlbench_test_management import crashmeTestManager as testManager
78
from dbqp_modes.sqlbench.sqlbench_test_execution import crashmeTestExecutor as testExecutor
77
from sqlbench.sqlbench_test_management import crashmeTestManager as testManager
78
from sqlbench.sqlbench_test_execution import crashmeTestExecutor as testExecutor
80
80
elif test_mode == 'cleanup':
81
81
# cleanup mode - we try to kill any servers whose pid's we detect