~drizzle-trunk/drizzle/jenkins-Drizzle-Builder-129

« back to all changes in this revision

Viewing changes to tests/qp_tests/sqlbench/sqlbench_test.py

  • Committer: Continuous Integration
  • Date: 2012-08-22 16:46:57 UTC
  • mfrom: (2582.1.1 qp-sysbench-gsoc)
  • Revision ID: ci@drizzle.org-20120822164657-kscwyfppucshsl7v
added:
  tests/lib/util/database_connect.py
  tests/lib/util/drizzleslap_methods.py
  tests/lib/util/mailing_report.py
  tests/lib/util/sysbenchTestCase.py
  tests/qp_tests/drizzleslap/
  tests/qp_tests/drizzleslap/drizzleslap_test.py
  tests/qp_tests/sysbench/sysbench_readwrite_test.py
  tests/std_data/sysbench_db.sql
modified:
  docs/testing/kewpie.rst
  docs/testing/sysbench.rst
  tests/lib/modes/native/native_test_execution.py
  tests/lib/opts/test_run_options.py
  tests/lib/server_mgmt/drizzled.py
  tests/lib/server_mgmt/server.py
  tests/lib/sys_mgmt/system_management.py
  tests/lib/util/crashme_methods.py
  tests/lib/util/mysql_methods.py
  tests/lib/util/sysbench_methods.py
  tests/qp_tests/crashme/crashme_test.py
  tests/qp_tests/sqlbench/sqlbench_test.py
  tests/qp_tests/sysbench/sysbench_readonly_test.py
pending merge tips: (use -v to see all merge revisions)
  M.Sharan Kumar 2012-08-21 [merge] This branch consists of the work done in connection with GSoC.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
from lib.util.sqlbench_methods import execute_sqlbench
26
26
from lib.util.mysqlBaseTestCase import mysqlBaseTestCase
 
27
from lib.util.mailing_report import kewpieSendMail
 
28
from lib.opts.test_run_options import parse_qp_options
27
29
 
28
30
server_requirements = [[]]
29
31
servers = []
39
41
        self.assertEqual(retcode, 0, msg = output)
40
42
        self.assertEqual(test_status, 'pass', msg = output)
41
43
 
 
44
        # sending test report via mail
 
45
        if mail_tgt:
 
46
            kewpieSendMail(test_executor,mail_tgt,test_status)
 
47
 
42
48
    def tearDown(self):
43
49
            server_manager.reset_servers(test_executor.name)
44
50