Esempio n. 1
0
    def test_run_all_sqlbench(self):
        self.servers = servers
        test_cmd = "$SQLBENCH_DIR/run-all-tests --server=mysqld --host=127.0.0.1 --force --dir=$MYSQL_TEST_WORKDIR  --connect-options=port=$MASTER_MYPORT --verbose --debug --user=root"

        test_status, retcode, output = execute_sqlbench(test_cmd, test_executor, servers)
        self.assertTrue(retcode==0, output)
        self.assertTrue(test_status=='pass', output)
Esempio n. 2
0
    def test_run_all_sqlbench(self):
        test_cmd = "$SQLBENCH_DIR/run-all-tests --server=drizzle --dir=$DRIZZLE_TEST_WORKDIR --log --connect-options=port=$MASTER_MYPORT --create-options=ENGINE=innodb --user=root"

        test_status, retcode, output = execute_sqlbench(
            test_cmd, test_executor, servers)
        self.assertEqual(retcode, 0, msg=output)
        self.assertEqual(test_status, 'pass', msg=output)
Esempio n. 3
0
    def test_run_all_sqlbench(self):
        test_cmd = "$SQLBENCH_DIR/run-all-tests --server=drizzle --dir=$DRIZZLE_TEST_WORKDIR --log --connect-options=port=$MASTER_MYPORT --create-options=ENGINE=innodb --user=root"

        test_status, retcode, output = execute_sqlbench(test_cmd, test_executor, servers)
        self.assertEqual(retcode, 0, msg = output)
        self.assertEqual(test_status, 'pass', msg = output)

        # sending test report via mail
        if mail_tgt:
            kewpieSendMail(test_executor,mail_tgt,test_status)
Esempio n. 4
0
    def test_run_all_sqlbench(self):
        test_cmd = "$SQLBENCH_DIR/run-all-tests --server=drizzle --dir=$DRIZZLE_TEST_WORKDIR --log --connect-options=port=$MASTER_MYPORT --create-options=ENGINE=innodb --user=root"

        test_status, retcode, output = execute_sqlbench(test_cmd, test_executor, servers)
        self.assertTrue(retcode==0, output)
        self.assertTrue(test_status=='pass', output)