~drizzle-trunk/drizzle/development

0.67.348 by Philip Stoev
changes to support large-scale mysqltest simplifications
1
# Copyright (C) 2008 Sun Microsystems, Inc. All rights reserved.  Use
2
# is subject to license terms.
3
#
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; version 2 of the License.
7
#
8
# This program is distributed in the hope that it will be useful, but
9
# WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
# General Public License for more details.
12
#
13
# You should have received a copy of the GNU General Public License
14
# along with this program; if not, write to the Free Software
15
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
16
# USA
17
18
{
19
    basedir => '/1tb/bzr/mysql-next-mr',
20
    input_file => '/tmp/dump.test',
21
    expected_mtr_output => 'handle_segfault',
22
    header => [
23
#	'--source include/master-slave.inc',		# Enable this for replication
24
#       '--disable_abort_on_error',
25
        '--disable_warnings',
26
	'--disable_query_log',
27
	'--disable_result_log'
28
    ],
29
    footer => [
30
#	'--connection master',
31
#	'--sync_slave_with_master',			# Enable this for replication
32
#	'--let $diff_table_1 = master:test.table1_int',
33
#	'--let $diff_table_2 = slave:test.table1_int',
34
#	'--source include/diff_tables.inc',
35
    ],
36
37
    filter => qr{SHOW WARNINGS|EXPLAIN}sio,
38
39
    mtr_options => {
40
#	'start-dirty'		=> undef,
41
        'skip-ndbcluster'    => undef,
42
        'record'             => undef,
43
#        'mem'                => undef,
44
        'no-check-testcases' => undef,
45
        'nowarnings'         => undef,
46
        'fast'               => undef,
47
	'max-save-datadir'	=> 1,
48
	'max-save-core'		=> 1,
49
	'compress'		=> undef,
50
	'repeat'		=> 1,
51
	'skip-combinations'	=> undef,
52
	'vardir'		=> '/1tb/vardir',
53
	'testcase-timeout'	=> 60,
54
	'suite-timeout'		=> 60
55
    },
56
57
    mysqld => {
58
59
        # 'innodb'                       => undef,
60
        # 'binlog-format'                => 'mixed',
61
        # 'plugin-dir'                   => '/build/bzr/mysql-5.1-rep+3/plugin/semisync/.libs',
62
        # 'plugin-load'                  => 'rpl_semi_sync_master=libsemisync_master.so:rpl_semi_sync_slave=libsemisync_slave.so',
63
        # 'rpl_semi_sync_master_enabled' => 1,
64
        # 'rpl_semi_sync_slave_enabled'  => 1,
65
66
	'delay-key-write'		=> 'all',
67
	'sync-binlog'			=> 0,
68
	'myisam-sort-buffer-size'	=> '500M',
69
	'myisam-repair-threads'		=> 4,
70
	'myisam-max-sort-file-size'	=> '900G',
71
	'key_buffer_size'		=> '100M',
72
	'log-output'			=> 'none',
73
74
# Those options make test execution faster
75
76
#        'table-lock-wait-timeout'            => 1,
77
        'loose-rpl_semi_sync_master_timeout' => 10,
78
        'log-output'                         => 'none',
79
#        'innodb_flush_log_at_trx_commit'     => 0,
80
        'log-slave-updates'                  => 0,
81
    },
82
83
    use_connections => 0
84
85
}