Merge lp:~patrick-crews/drizzle/dbqp_randgen_updates into lp:drizzle/7.0
- dbqp_randgen_updates
- Merge into 7.0
Proposed by
Patrick Crews
Status: | Merged |
---|---|
Approved by: | Brian Aker |
Approved revision: | 2200 |
Merged at revision: | 2201 |
Proposed branch: | lp:~patrick-crews/drizzle/dbqp_randgen_updates |
Merge into: | lp:drizzle/7.0 |
Diff against target: |
753 lines (+490/-29) 43 files modified
docs/index.rst (+1/-0) docs/testing/dbqp.rst (+2/-1) docs/testing/randgen.rst (+197/-0) tests/randgen_tests/innodb_trx_log/multi_thread1.disabled (+8/-0) tests/randgen_tests/innodb_trx_log/multi_thread1_mix.disabled (+8/-0) tests/randgen_tests/innodb_trx_log/multi_thread2.disabled (+8/-0) tests/randgen_tests/innodb_trx_log/multi_thread2_mix.disabled (+8/-0) tests/randgen_tests/innodb_trx_log/multi_thread3.disabled (+8/-0) tests/randgen_tests/innodb_trx_log/multi_thread3_mix.disabled (+8/-0) tests/randgen_tests/innodb_trx_log/single_thread3.disabled (+8/-0) tests/randgen_tests/innodb_trx_log/trx_ordering.disabled (+8/-0) tests/randgen_tests/main/basic.cnf (+8/-0) tests/randgen_tests/main/blob.cnf (+8/-0) tests/randgen_tests/main/collations.cnf (+8/-0) tests/randgen_tests/main/combinations.cnf (+8/-0) tests/randgen_tests/main/create_drop.cnf (+8/-0) tests/randgen_tests/main/database_consistency_after_recovery.disabled (+8/-0) tests/randgen_tests/main/database_integrity_after_recovery.disabled (+8/-0) tests/randgen_tests/main/drizzledump_restore.cnf (+8/-0) tests/randgen_tests/main/drizzledump_restore_rand.cnf (+8/-0) tests/randgen_tests/main/limit_compare.cnf (+8/-0) tests/randgen_tests/main/many_indexes.cnf (+8/-0) tests/randgen_tests/main/optimizer_subquery.cnf (+1/-1) tests/randgen_tests/main/orderby_validator.disabled (+8/-0) tests/randgen_tests/main/outer_join_portable.cnf (+8/-0) tests/randgen_tests/main/repeatable_read.cnf (+8/-0) tests/randgen_tests/main/select_stability_validator.cnf (+8/-0) tests/randgen_tests/main/simple.cnf (+0/-9) tests/randgen_tests/main/subquery.cnf (+8/-0) tests/randgen_tests/main/subquery_semijoin.cnf (+8/-0) tests/randgen_tests/main/subquery_semijoin_nested.cnf (+8/-0) tests/randgen_tests/main/varchar.cnf (+8/-0) tests/randgen_tests/slave_plugin/slave_plugin.cnf (+9/-0) tests/randgen_tests/slave_plugin/slave_plugin.disabled (+0/-9) tests/randgen_tests/trx_log/multi_thread1.disabled (+8/-0) tests/randgen_tests/trx_log/multi_thread1_mix.disabled (+8/-0) tests/randgen_tests/trx_log/multi_thread2.disabled (+8/-0) tests/randgen_tests/trx_log/multi_thread2_mix.disabled (+8/-0) tests/randgen_tests/trx_log/multi_thread3.disabled (+8/-0) tests/randgen_tests/trx_log/multi_thread3_mix.disabled (+8/-0) tests/randgen_tests/trx_log/simple.cnf (+0/-9) tests/randgen_tests/trx_log/single_thread3.disabled (+8/-0) tests/randgen_tests/trx_log/trx_ordering.disabled (+8/-0) |
To merge this branch: | bzr merge lp:~patrick-crews/drizzle/dbqp_randgen_updates |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Drizzle Developers | Pending | ||
Review via email:
|
Commit message
Description of the change
Have added test conf files for all of the tests we use via drizzle-automation
Query and thread counts have been pared down a bit to spare developer machines - we can possilbly create 'big' suites with large volume testing for servers and whatnot.
Updated docs with randgen section. Includes notes on how to install dbd-drizzle and how to get the randgen.
To post a comment you must log in.
Revision history for this message
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Patrick Crews (patrick-crews) wrote : | # |
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'docs/index.rst' |
2 | --- docs/index.rst 2011-02-21 01:35:37 +0000 |
3 | +++ docs/index.rst 2011-02-24 23:26:09 +0000 |
4 | @@ -124,6 +124,7 @@ |
5 | |
6 | testing/test-run.rst |
7 | testing/dbqp.rst |
8 | + testing/randgen.rst |
9 | |
10 | Indices and tables |
11 | ================== |
12 | |
13 | === modified file 'docs/testing/dbqp.rst' |
14 | --- docs/testing/dbqp.rst 2011-02-23 23:29:48 +0000 |
15 | +++ docs/testing/dbqp.rst 2011-02-24 23:26:09 +0000 |
16 | @@ -1,9 +1,10 @@ |
17 | ********************************** |
18 | -dbqp.py - Drizzle testing tool |
19 | +dbqp |
20 | ********************************** |
21 | |
22 | Synopsis |
23 | ======== |
24 | +Drizzle testing tool |
25 | |
26 | **./dbqp** [ *OPTIONS* ] [ TESTCASE ] |
27 | |
28 | |
29 | === added file 'docs/testing/randgen.rst' |
30 | --- docs/testing/randgen.rst 1970-01-01 00:00:00 +0000 |
31 | +++ docs/testing/randgen.rst 2011-02-24 23:26:09 +0000 |
32 | @@ -0,0 +1,197 @@ |
33 | +********************************** |
34 | +randgen (random query generator) |
35 | +********************************** |
36 | + |
37 | + |
38 | + |
39 | +Description |
40 | +=========== |
41 | + |
42 | +The randgen aka the random query generator is a database |
43 | +testing tool. It uses a grammar-based stochastic model to represent |
44 | +some desired set of queries (to exercise the optimizer, for example) |
45 | +and generates random queries as allowed by the grammar |
46 | + |
47 | +The primary documentation is here: http://forge.mysql.com/wiki/RandomQueryGenerator |
48 | + |
49 | +This document is intended to help the user set up their environment so that the tool |
50 | +may be used in conjunction with the dbqp.py test-runner. The forge documentation |
51 | +contains more information on the particulars of the tool itself. |
52 | + |
53 | +Requirements |
54 | +============ |
55 | + |
56 | +DBD::drizzle |
57 | +------------- |
58 | +The DBD::drizzle module is required it can be found here http://launchpad.net/dbd-drizzle/ |
59 | + |
60 | +Additional information for installing the module:: |
61 | + |
62 | + Prerequisites |
63 | + ---------------- |
64 | + * Perl |
65 | + * Drizzle (bzr branch lp:drizzle) |
66 | + * libdrizzle (bzr branch lp:libdrizzle) |
67 | + * C compiler |
68 | + |
69 | + Installation |
70 | + ------------- |
71 | + You should only have to run the following: |
72 | + |
73 | + perl Makefile.PL --cflags=-I/usr/local/drizzle/include/ --libs=-"L/usr/local/drizzle/lib -ldrizzle" |
74 | + |
75 | + |
76 | + Depending on where libdrizzle is installed. Also, you'll want to make |
77 | + sure that ldconfig has configured libdrizzle to be in your library path |
78 | + |
79 | +Additional information may be found here: http://forge.mysql.com/wiki/RandomQueryGeneratorQuickStart |
80 | + |
81 | +Installing the randgen |
82 | +======================= |
83 | + |
84 | +The code may be branched from launchpad: bzr branch lp:randgen |
85 | + |
86 | +it also may be downloaded from here http://launchpad.net/randgen/+download |
87 | + |
88 | +That is all there is : ) |
89 | + |
90 | +Randgen / dbqp tests |
91 | +==================== |
92 | + |
93 | +These tests are simple .cnf files that can define a few basic variables |
94 | +that are needed to execute tests. The most interesting section is test_servers. It is a simple list of python lists |
95 | +Each sub-list contains a string of server options that are needed. Each sub-list represents a server that will be started. |
96 | +Using an empty sub-list will create a server with the default options:: |
97 | + |
98 | + [test_info] |
99 | + comment = does NOT actually test the master-slave replication yet, but it will. |
100 | + |
101 | + [test_command] |
102 | + command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/optimizer_subquery_drizzle.yy --queries=10 --threads=1 |
103 | + |
104 | + [test_servers] |
105 | + servers = [[--innodb.replication-log=true],[--plugin-add=slave --slave.config-file=$MASTER_SERVER_SLAVE_CONFIG]] |
106 | + |
107 | +Running tests |
108 | +========================= |
109 | + |
110 | +There are several different ways to run tests using :doc:`dbqp` 's randgen mode. |
111 | + |
112 | +It should be noted that unless :option:`--force` is used, the program will |
113 | +stop execution upon encountering the first failing test. |
114 | +:option:`--force` is recommended if you are running several tests - it will |
115 | +allow you to view all successes and failures in one run. |
116 | + |
117 | +Running individual tests |
118 | +------------------------ |
119 | +If one only wants to run a few, specific tests, they may do so this way:: |
120 | + |
121 | + ./dbqp --mode=randgen --randgen-path=/path/to/randgen [OPTIONS] test1 [test2 ... testN] |
122 | + |
123 | +Running all tests within a suite |
124 | +-------------------------------- |
125 | +Many of the tests supplied with Drizzle are organized into suites. |
126 | + |
127 | +The tests within drizzle/tests/randgen_tests/main are considered the 'main' suite. |
128 | +Other suites are also subdirectories of drizzle/tests/randgen_tests. |
129 | + |
130 | +To run the tests in a specific suite:: |
131 | + |
132 | + ./dbqp --mode=randgen --randgen-path=/path/to/randgen [OPTIONS] --suite=SUITENAME |
133 | + |
134 | +Running specific tests within a suite |
135 | +-------------------------------------- |
136 | +To run a specific set of tests within a suite:: |
137 | + |
138 | + ./dbqp --mode=randgen --randgen-path=/path/to/randgen [OPTIONS] --suite=SUITENAME TEST1 [TEST2..TESTN] |
139 | + |
140 | +Calling tests using <suitename>.<testname> currently does not work. |
141 | +One must specify the test suite via the :option:`--suite` option. |
142 | + |
143 | + |
144 | +Running all available tests |
145 | +--------------------------- |
146 | +One would currently have to name all suites, but the majority of the working tests live in the main suite |
147 | +Other suites utilize more exotic server combinations and we are currently tweaking them to better integrate with the |
148 | +dbqp system. The slave-plugin suite does currently have a good config file for setting up simple replication setups for testing. |
149 | +To execute several suites' worth of tests:: |
150 | + |
151 | + ./dbqp --mode=randgen --randgen-path=/path/to/randgen [OPTIONS] --suite=SUITE1, SUITE2, ...SUITEN |
152 | + |
153 | +Interpreting test results |
154 | +========================= |
155 | +The output of the test runner is quite simple. Every test should pass. |
156 | +In the event of a test failure, please take the time to file a bug here: |
157 | +*https://bugs.launchpad.net/drizzle* |
158 | + |
159 | +During a run, the program will provide the user with: |
160 | + * test name (suite + name) |
161 | + * test status (pass/fail/skipped) |
162 | + * time spent executing each test |
163 | + |
164 | +At the end of a run, the program will provide the user with a listing of: |
165 | + * how many tests were run |
166 | + * how many tests failed |
167 | + * percentage of passing tests |
168 | + * a listing of failing tests |
169 | + * total time spent executing the tests |
170 | + |
171 | +Example output:: |
172 | + |
173 | + 24 Feb 2011 17:27:36 : main.outer_join_portable [ pass ] 7019 |
174 | + 24 Feb 2011 17:27:39 : main.repeatable_read [ pass ] 2764 |
175 | + 24 Feb 2011 17:28:57 : main.select_stability_validator [ pass ] 77946 |
176 | + 24 Feb 2011 17:29:01 : main.subquery [ pass ] 4474 |
177 | + 24 Feb 2011 17:30:52 : main.subquery_semijoin [ pass ] 110355 |
178 | + 24 Feb 2011 17:31:00 : main.subquery_semijoin_nested [ pass ] 8750 |
179 | + 24 Feb 2011 17:31:03 : main.varchar [ pass ] 3048 |
180 | + 24 Feb 2011 17:31:03 : ================================================================================ |
181 | + 24 Feb 2011 17:31:03 INFO: Test execution complete in 288 seconds |
182 | + 24 Feb 2011 17:31:03 INFO: Summary report: |
183 | + 24 Feb 2011 17:31:03 INFO: Executed 18/18 test cases, 100.00 percent |
184 | + 24 Feb 2011 17:31:03 INFO: STATUS: PASS, 18/18 test cases, 100.00 percent executed |
185 | + 24 Feb 2011 17:31:03 INFO: Spent 287 / 288 seconds on: TEST(s) |
186 | + 24 Feb 2011 17:31:03 INFO: Test execution complete |
187 | + 24 Feb 2011 17:31:03 INFO: Stopping all running servers... |
188 | + |
189 | + |
190 | +Additional uses |
191 | +=============== |
192 | +Starting a server for manual testing and (optionally) populating it |
193 | +-------------------------------------------------------------------- |
194 | + |
195 | +:doc:`dbqp` 's randgen mode allows a user to get a Drizzle server up and running quickly. This can be useful for fast ad-hoc testing. |
196 | + |
197 | +To do so call:: |
198 | + |
199 | + ./dbqp --mode=randgen --randgen-path=/path/to/randgen --start-and-exit [*OPTIONS*] |
200 | + |
201 | +This will start a Drizzle server that you can connect to and query |
202 | + |
203 | +With the addition of the --gendata option, a user may utilize the randgen's gendata (table creation and population) tool |
204 | +to populate a test server. In the following example, the test server is now populated by the 8 tables listed below:: |
205 | + |
206 | + ./dbqp --mode=randgen --randgen-path=/randgen --start-and-exit --gendata=/randgen/conf/drizzle/drizzle.zz |
207 | + <snip> |
208 | + 24 Feb 2011 17:48:48 INFO: NAME: server0 |
209 | + 24 Feb 2011 17:48:48 INFO: MASTER_PORT: 9306 |
210 | + 24 Feb 2011 17:48:48 INFO: DRIZZLE_TCP_PORT: 9307 |
211 | + 24 Feb 2011 17:48:48 INFO: MC_PORT: 9308 |
212 | + 24 Feb 2011 17:48:48 INFO: PBMS_PORT: 9309 |
213 | + 24 Feb 2011 17:48:48 INFO: RABBITMQ_NODE_PORT: 9310 |
214 | + 24 Feb 2011 17:48:48 INFO: VARDIR: /home/pcrews/bzr/work/dbqp_randgen_updates/tests/workdir/testbot0/server0/var |
215 | + 24 Feb 2011 17:48:48 INFO: STATUS: 1 |
216 | + # 2011-02-24T17:48:48 Default schema: test |
217 | + # 2011-02-24T17:48:48 Executor initialized, id GenTest::Executor::Drizzle 2011.02.2198 () |
218 | + # 2011-02-24T17:48:48 # Creating Drizzle table: test.A; engine: ; rows: 0 . |
219 | + # 2011-02-24T17:48:48 # Creating Drizzle table: test.B; engine: ; rows: 0 . |
220 | + # 2011-02-24T17:48:48 # Creating Drizzle table: test.C; engine: ; rows: 1 . |
221 | + # 2011-02-24T17:48:48 # Creating Drizzle table: test.D; engine: ; rows: 1 . |
222 | + # 2011-02-24T17:48:48 # Creating Drizzle table: test.AA; engine: ; rows: 10 . |
223 | + # 2011-02-24T17:48:48 # Creating Drizzle table: test.BB; engine: ; rows: 10 . |
224 | + # 2011-02-24T17:48:48 # Creating Drizzle table: test.CC; engine: ; rows: 100 . |
225 | + # 2011-02-24T17:48:49 # Creating Drizzle table: test.DD; engine: ; rows: 100 . |
226 | + 24 Feb 2011 17:48:49 INFO: User specified --start-and-exit. dbqp.py exiting and leaving servers running... |
227 | + |
228 | + |
229 | + |
230 | |
231 | === added file 'tests/randgen_tests/innodb_trx_log/multi_thread1.disabled' |
232 | --- tests/randgen_tests/innodb_trx_log/multi_thread1.disabled 1970-01-01 00:00:00 +0000 |
233 | +++ tests/randgen_tests/innodb_trx_log/multi_thread1.disabled 2011-02-24 23:26:09 +0000 |
234 | @@ -0,0 +1,8 @@ |
235 | +[test_info] |
236 | +comment = single threaded test |
237 | + |
238 | +[test_command] |
239 | +command = ./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent1.yy --Reporter=DrizzleInnoTrxLog --queries=100 --threads=3 |
240 | + |
241 | +[test_servers] |
242 | +servers = [[--transaction-log.enable]] |
243 | |
244 | === added file 'tests/randgen_tests/innodb_trx_log/multi_thread1_mix.disabled' |
245 | --- tests/randgen_tests/innodb_trx_log/multi_thread1_mix.disabled 1970-01-01 00:00:00 +0000 |
246 | +++ tests/randgen_tests/innodb_trx_log/multi_thread1_mix.disabled 2011-02-24 23:26:09 +0000 |
247 | @@ -0,0 +1,8 @@ |
248 | +[test_info] |
249 | +comment = single threaded test |
250 | + |
251 | +[test_command] |
252 | +command = ./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent1.yy --Reporter=DrizzleInnoTrxLog --queries=50 --threads=3 --seed=time |
253 | + |
254 | +[test_servers] |
255 | +servers = [[--transaction-log.enable]] |
256 | |
257 | === added file 'tests/randgen_tests/innodb_trx_log/multi_thread2.disabled' |
258 | --- tests/randgen_tests/innodb_trx_log/multi_thread2.disabled 1970-01-01 00:00:00 +0000 |
259 | +++ tests/randgen_tests/innodb_trx_log/multi_thread2.disabled 2011-02-24 23:26:09 +0000 |
260 | @@ -0,0 +1,8 @@ |
261 | +[test_info] |
262 | +comment = single threaded test |
263 | + |
264 | +[test_command] |
265 | +command = ./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent2.yy --Reporter=DrizzleInnoTrxLog --queries=75 --threads=3 |
266 | + |
267 | +[test_servers] |
268 | +servers = [[--transaction-log.enable]] |
269 | |
270 | === added file 'tests/randgen_tests/innodb_trx_log/multi_thread2_mix.disabled' |
271 | --- tests/randgen_tests/innodb_trx_log/multi_thread2_mix.disabled 1970-01-01 00:00:00 +0000 |
272 | +++ tests/randgen_tests/innodb_trx_log/multi_thread2_mix.disabled 2011-02-24 23:26:09 +0000 |
273 | @@ -0,0 +1,8 @@ |
274 | +[test_info] |
275 | +comment = single threaded test |
276 | + |
277 | +[test_command] |
278 | +command = ./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent2.yy --Reporter=DrizzleInnoTrxLog --queries=50 --threads=3 --seed=time |
279 | + |
280 | +[test_servers] |
281 | +servers = [[--transaction-log.enable]] |
282 | |
283 | === added file 'tests/randgen_tests/innodb_trx_log/multi_thread3.disabled' |
284 | --- tests/randgen_tests/innodb_trx_log/multi_thread3.disabled 1970-01-01 00:00:00 +0000 |
285 | +++ tests/randgen_tests/innodb_trx_log/multi_thread3.disabled 2011-02-24 23:26:09 +0000 |
286 | @@ -0,0 +1,8 @@ |
287 | +[test_info] |
288 | +comment = single threaded test |
289 | + |
290 | +[test_command] |
291 | +command = ./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent3.yy --Reporter=DrizzleInnoTrxLog --queries=75 --threads=3 |
292 | + |
293 | +[test_servers] |
294 | +servers = [[--transaction-log.enable]] |
295 | |
296 | === added file 'tests/randgen_tests/innodb_trx_log/multi_thread3_mix.disabled' |
297 | --- tests/randgen_tests/innodb_trx_log/multi_thread3_mix.disabled 1970-01-01 00:00:00 +0000 |
298 | +++ tests/randgen_tests/innodb_trx_log/multi_thread3_mix.disabled 2011-02-24 23:26:09 +0000 |
299 | @@ -0,0 +1,8 @@ |
300 | +[test_info] |
301 | +comment = single threaded test |
302 | + |
303 | +[test_command] |
304 | +command = ./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent3.yy --Reporter=DrizzleInnoTrxLog --queries=50 --threads=3 --seed=time |
305 | + |
306 | +[test_servers] |
307 | +servers = [[--transaction-log.enable]] |
308 | |
309 | === added file 'tests/randgen_tests/innodb_trx_log/single_thread3.disabled' |
310 | --- tests/randgen_tests/innodb_trx_log/single_thread3.disabled 1970-01-01 00:00:00 +0000 |
311 | +++ tests/randgen_tests/innodb_trx_log/single_thread3.disabled 2011-02-24 23:26:09 +0000 |
312 | @@ -0,0 +1,8 @@ |
313 | +[test_info] |
314 | +comment = single threaded test |
315 | + |
316 | +[test_command] |
317 | +command = ./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent3.yy --Reporter=DrizzleInnoTrxLog --queries=100 --threads=1 |
318 | + |
319 | +[test_servers] |
320 | +servers = [[--transaction-log.enable]] |
321 | |
322 | === added file 'tests/randgen_tests/innodb_trx_log/trx_ordering.disabled' |
323 | --- tests/randgen_tests/innodb_trx_log/trx_ordering.disabled 1970-01-01 00:00:00 +0000 |
324 | +++ tests/randgen_tests/innodb_trx_log/trx_ordering.disabled 2011-02-24 23:26:09 +0000 |
325 | @@ -0,0 +1,8 @@ |
326 | +[test_info] |
327 | +comment = simple trx ordering test |
328 | + |
329 | +[test_command] |
330 | +command = ./gentest.pl ---gendata=conf/drizzle/translog_ordering.zz --grammar=conf/drizzle/translog_ordering.yy --Reporter=DrizzleInnoTrxLog --threads=5 --queries=75 |
331 | + |
332 | +[test_servers] |
333 | +servers = [[--transaction-log.enable]] |
334 | |
335 | === added file 'tests/randgen_tests/main/basic.cnf' |
336 | --- tests/randgen_tests/main/basic.cnf 1970-01-01 00:00:00 +0000 |
337 | +++ tests/randgen_tests/main/basic.cnf 2011-02-24 23:26:09 +0000 |
338 | @@ -0,0 +1,8 @@ |
339 | +[test_info] |
340 | +comment = basic randgen test |
341 | + |
342 | +[test_command] |
343 | +command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/drizzle.yy --queries=1000 --threads=5 |
344 | + |
345 | +[test_servers] |
346 | +servers = [[]] |
347 | |
348 | === added file 'tests/randgen_tests/main/blob.cnf' |
349 | --- tests/randgen_tests/main/blob.cnf 1970-01-01 00:00:00 +0000 |
350 | +++ tests/randgen_tests/main/blob.cnf 2011-02-24 23:26:09 +0000 |
351 | @@ -0,0 +1,8 @@ |
352 | +[test_info] |
353 | +comment = blob test |
354 | + |
355 | +[test_command] |
356 | +command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/engines/blobs.yy --Validators=None --queries=1000 --threads=3 |
357 | + |
358 | +[test_servers] |
359 | +servers = [[]] |
360 | |
361 | === added file 'tests/randgen_tests/main/collations.cnf' |
362 | --- tests/randgen_tests/main/collations.cnf 1970-01-01 00:00:00 +0000 |
363 | +++ tests/randgen_tests/main/collations.cnf 2011-02-24 23:26:09 +0000 |
364 | @@ -0,0 +1,8 @@ |
365 | +[test_info] |
366 | +comment = collations test |
367 | + |
368 | +[test_command] |
369 | +command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/collations_drizzle.yy --queries=1000 --threads=3 |
370 | + |
371 | +[test_servers] |
372 | +servers = [[]] |
373 | |
374 | === added file 'tests/randgen_tests/main/combinations.cnf' |
375 | --- tests/randgen_tests/main/combinations.cnf 1970-01-01 00:00:00 +0000 |
376 | +++ tests/randgen_tests/main/combinations.cnf 2011-02-24 23:26:09 +0000 |
377 | @@ -0,0 +1,8 @@ |
378 | +[test_info] |
379 | +comment = collations test |
380 | + |
381 | +[test_command] |
382 | +command = ./gentest.pl --gendata=conf/drizzle/combinations_drizzle.zz --grammar=conf/transactions/combinations.yy --queries=1000 --threads=3 |
383 | + |
384 | +[test_servers] |
385 | +servers = [[]] |
386 | |
387 | === added file 'tests/randgen_tests/main/create_drop.cnf' |
388 | --- tests/randgen_tests/main/create_drop.cnf 1970-01-01 00:00:00 +0000 |
389 | +++ tests/randgen_tests/main/create_drop.cnf 2011-02-24 23:26:09 +0000 |
390 | @@ -0,0 +1,8 @@ |
391 | +[test_info] |
392 | +comment = collations test |
393 | + |
394 | +[test_command] |
395 | +command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/runtime/create_drop.yy --queries=1000 --threads=3 |
396 | + |
397 | +[test_servers] |
398 | +servers = [[]] |
399 | |
400 | === added file 'tests/randgen_tests/main/database_consistency_after_recovery.disabled' |
401 | --- tests/randgen_tests/main/database_consistency_after_recovery.disabled 1970-01-01 00:00:00 +0000 |
402 | +++ tests/randgen_tests/main/database_consistency_after_recovery.disabled 2011-02-24 23:26:09 +0000 |
403 | @@ -0,0 +1,8 @@ |
404 | +[test_info] |
405 | +comment = database recovery test |
406 | + |
407 | +[test_command] |
408 | +command = ./gentest.pl --gendata=conf/transactions/transactions.zz --grammar=conf/transactions/transactions.yy --reporters=DrizzleRecoveryConsistency --queries=1000 --threads=3 |
409 | + |
410 | +[test_servers] |
411 | +servers = [[]] |
412 | |
413 | === added file 'tests/randgen_tests/main/database_integrity_after_recovery.disabled' |
414 | --- tests/randgen_tests/main/database_integrity_after_recovery.disabled 1970-01-01 00:00:00 +0000 |
415 | +++ tests/randgen_tests/main/database_integrity_after_recovery.disabled 2011-02-24 23:26:09 +0000 |
416 | @@ -0,0 +1,8 @@ |
417 | +[test_info] |
418 | +comment = database recovery test |
419 | + |
420 | +[test_command] |
421 | +command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/drizzle.yy --reporters=DrizzleRecovery --queries=1000 --threads=3 |
422 | + |
423 | +[test_servers] |
424 | +servers = [[]] |
425 | |
426 | === added file 'tests/randgen_tests/main/drizzledump_restore.cnf' |
427 | --- tests/randgen_tests/main/drizzledump_restore.cnf 1970-01-01 00:00:00 +0000 |
428 | +++ tests/randgen_tests/main/drizzledump_restore.cnf 2011-02-24 23:26:09 +0000 |
429 | @@ -0,0 +1,8 @@ |
430 | +[test_info] |
431 | +comment = repeatable read test |
432 | + |
433 | +[test_command] |
434 | +command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/drizzledump.yy --Validator=Drizzledump --queries=50 --threads=1 |
435 | + |
436 | +[test_servers] |
437 | +servers = [[]] |
438 | |
439 | === added file 'tests/randgen_tests/main/drizzledump_restore_rand.cnf' |
440 | --- tests/randgen_tests/main/drizzledump_restore_rand.cnf 1970-01-01 00:00:00 +0000 |
441 | +++ tests/randgen_tests/main/drizzledump_restore_rand.cnf 2011-02-24 23:26:09 +0000 |
442 | @@ -0,0 +1,8 @@ |
443 | +[test_info] |
444 | +comment = repeatable read test |
445 | + |
446 | +[test_command] |
447 | +command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/drizzledump.yy --Validator=Drizzledump --queries=25 --seed=time --threads=1 |
448 | + |
449 | +[test_servers] |
450 | +servers = [[]] |
451 | |
452 | === added file 'tests/randgen_tests/main/limit_compare.cnf' |
453 | --- tests/randgen_tests/main/limit_compare.cnf 1970-01-01 00:00:00 +0000 |
454 | +++ tests/randgen_tests/main/limit_compare.cnf 2011-02-24 23:26:09 +0000 |
455 | @@ -0,0 +1,8 @@ |
456 | +[test_info] |
457 | +comment = database recovery test |
458 | + |
459 | +[test_command] |
460 | +command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/limit_compare_drizzle.yy --queries=1000 --threads=3 |
461 | + |
462 | +[test_servers] |
463 | +servers = [[]] |
464 | |
465 | === added file 'tests/randgen_tests/main/many_indexes.cnf' |
466 | --- tests/randgen_tests/main/many_indexes.cnf 1970-01-01 00:00:00 +0000 |
467 | +++ tests/randgen_tests/main/many_indexes.cnf 2011-02-24 23:26:09 +0000 |
468 | @@ -0,0 +1,8 @@ |
469 | +[test_info] |
470 | +comment = database recovery test |
471 | + |
472 | +[test_command] |
473 | +command = ./gentest.pl --gendata=conf/drizzle/many_indexes_drizzle.zz --grammar=conf/drizzle/many_indexes_drizzle.yy --threads=1 --queries=10 --Validators=None |
474 | + |
475 | +[test_servers] |
476 | +servers = [[]] |
477 | |
478 | === modified file 'tests/randgen_tests/main/optimizer_subquery.cnf' |
479 | --- tests/randgen_tests/main/optimizer_subquery.cnf 2011-02-23 17:17:25 +0000 |
480 | +++ tests/randgen_tests/main/optimizer_subquery.cnf 2011-02-24 23:26:09 +0000 |
481 | @@ -2,7 +2,7 @@ |
482 | comment = optimizer subquery test |
483 | |
484 | [test_command] |
485 | -command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/optimizer_subquery_drizzle.yy --queries=500 --threads=5 |
486 | +command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/optimizer_subquery_drizzle.yy --queries=250 --threads=3 |
487 | |
488 | [test_servers] |
489 | servers = [[]] |
490 | |
491 | === added file 'tests/randgen_tests/main/orderby_validator.disabled' |
492 | --- tests/randgen_tests/main/orderby_validator.disabled 1970-01-01 00:00:00 +0000 |
493 | +++ tests/randgen_tests/main/orderby_validator.disabled 2011-02-24 23:26:09 +0000 |
494 | @@ -0,0 +1,8 @@ |
495 | +[test_info] |
496 | +comment = repeatable read test |
497 | + |
498 | +[test_command] |
499 | +command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/subquery_semijoin_drizzle.yy --validators=OrderBy --queries=100 --threads=3 |
500 | + |
501 | +[test_servers] |
502 | +servers = [[]] |
503 | |
504 | === added file 'tests/randgen_tests/main/outer_join_portable.cnf' |
505 | --- tests/randgen_tests/main/outer_join_portable.cnf 1970-01-01 00:00:00 +0000 |
506 | +++ tests/randgen_tests/main/outer_join_portable.cnf 2011-02-24 23:26:09 +0000 |
507 | @@ -0,0 +1,8 @@ |
508 | +[test_info] |
509 | +comment = repeatable read test |
510 | + |
511 | +[test_command] |
512 | +command = ./gentest.pl --gendata=conf/drizzle/outer_join_drizzle.zz --grammar=conf/drizzle/outer_join_portable_drizzle.yy --queries=1000 --threads=3 |
513 | + |
514 | +[test_servers] |
515 | +servers = [[]] |
516 | |
517 | === added file 'tests/randgen_tests/main/repeatable_read.cnf' |
518 | --- tests/randgen_tests/main/repeatable_read.cnf 1970-01-01 00:00:00 +0000 |
519 | +++ tests/randgen_tests/main/repeatable_read.cnf 2011-02-24 23:26:09 +0000 |
520 | @@ -0,0 +1,8 @@ |
521 | +[test_info] |
522 | +comment = repeatable read test |
523 | + |
524 | +[test_command] |
525 | +command = ./gentest.pl --gendata=conf/transactions/transactions.zz --grammar=conf/transactions/repeatable_read.yy --validators=RepeatableRead --queries=1000 --threads=3 |
526 | + |
527 | +[test_servers] |
528 | +servers = [[]] |
529 | |
530 | === added file 'tests/randgen_tests/main/select_stability_validator.cnf' |
531 | --- tests/randgen_tests/main/select_stability_validator.cnf 1970-01-01 00:00:00 +0000 |
532 | +++ tests/randgen_tests/main/select_stability_validator.cnf 2011-02-24 23:26:09 +0000 |
533 | @@ -0,0 +1,8 @@ |
534 | +[test_info] |
535 | +comment = repeatable read test |
536 | + |
537 | +[test_command] |
538 | +command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/subquery_materialization_drizzle.yy --validators=SelectStability --queries=250 --threads=3 |
539 | + |
540 | +[test_servers] |
541 | +servers = [[]] |
542 | |
543 | === removed file 'tests/randgen_tests/main/simple.cnf' |
544 | --- tests/randgen_tests/main/simple.cnf 2011-02-23 17:17:25 +0000 |
545 | +++ tests/randgen_tests/main/simple.cnf 1970-01-01 00:00:00 +0000 |
546 | @@ -1,9 +0,0 @@ |
547 | -[test_info] |
548 | -name = randgen_simple |
549 | -comment = basic, basic randgen test |
550 | - |
551 | -[test_command] |
552 | -command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/optimizer_subquery_drizzle.yy --queries=10 --threads=1 |
553 | - |
554 | -[test_servers] |
555 | -servers = [[--transaction-log.enable]] |
556 | |
557 | === added file 'tests/randgen_tests/main/subquery.cnf' |
558 | --- tests/randgen_tests/main/subquery.cnf 1970-01-01 00:00:00 +0000 |
559 | +++ tests/randgen_tests/main/subquery.cnf 2011-02-24 23:26:09 +0000 |
560 | @@ -0,0 +1,8 @@ |
561 | +[test_info] |
562 | +comment = repeatable read test |
563 | + |
564 | +[test_command] |
565 | +command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/subquery_drizzle.yy --queries=1000 --threads=3 |
566 | + |
567 | +[test_servers] |
568 | +servers = [[]] |
569 | |
570 | === added file 'tests/randgen_tests/main/subquery_semijoin.cnf' |
571 | --- tests/randgen_tests/main/subquery_semijoin.cnf 1970-01-01 00:00:00 +0000 |
572 | +++ tests/randgen_tests/main/subquery_semijoin.cnf 2011-02-24 23:26:09 +0000 |
573 | @@ -0,0 +1,8 @@ |
574 | +[test_info] |
575 | +comment = repeatable read test |
576 | + |
577 | +[test_command] |
578 | +command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/subquery_semijoin_drizzle.yy --queries=1000 --threads=3 |
579 | + |
580 | +[test_servers] |
581 | +servers = [[]] |
582 | |
583 | === added file 'tests/randgen_tests/main/subquery_semijoin_nested.cnf' |
584 | --- tests/randgen_tests/main/subquery_semijoin_nested.cnf 1970-01-01 00:00:00 +0000 |
585 | +++ tests/randgen_tests/main/subquery_semijoin_nested.cnf 2011-02-24 23:26:09 +0000 |
586 | @@ -0,0 +1,8 @@ |
587 | +[test_info] |
588 | +comment = repeatable read test |
589 | + |
590 | +[test_command] |
591 | +command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/subquery_semijoin_nested_drizzle.yy --queries=1000 --threads=3 |
592 | + |
593 | +[test_servers] |
594 | +servers = [[]] |
595 | |
596 | === added file 'tests/randgen_tests/main/varchar.cnf' |
597 | --- tests/randgen_tests/main/varchar.cnf 1970-01-01 00:00:00 +0000 |
598 | +++ tests/randgen_tests/main/varchar.cnf 2011-02-24 23:26:09 +0000 |
599 | @@ -0,0 +1,8 @@ |
600 | +[test_info] |
601 | +comment = repeatable read test |
602 | + |
603 | +[test_command] |
604 | +command = ./gentest.pl --gendata=conf/drizzle/varchar_drizzle.zz --grammar=conf/engines/varchar.yy --queries=1000 --threads=3 |
605 | + |
606 | +[test_servers] |
607 | +servers = [[]] |
608 | |
609 | === added file 'tests/randgen_tests/slave_plugin/slave_plugin.cnf' |
610 | --- tests/randgen_tests/slave_plugin/slave_plugin.cnf 1970-01-01 00:00:00 +0000 |
611 | +++ tests/randgen_tests/slave_plugin/slave_plugin.cnf 2011-02-24 23:26:09 +0000 |
612 | @@ -0,0 +1,9 @@ |
613 | +[test_info] |
614 | +name = randgen_slave_plugin |
615 | +comment = does NOT actually test the master-slave replication yet, but it will. |
616 | + |
617 | +[test_command] |
618 | +command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/optimizer_subquery_drizzle.yy --queries=10 --threads=1 |
619 | + |
620 | +[test_servers] |
621 | +servers = [[--innodb.replication-log=true],[--plugin-add=slave --slave.config-file=$MASTER_SERVER_SLAVE_CONFIG]] |
622 | |
623 | === removed file 'tests/randgen_tests/slave_plugin/slave_plugin.disabled' |
624 | --- tests/randgen_tests/slave_plugin/slave_plugin.disabled 2011-02-23 17:17:25 +0000 |
625 | +++ tests/randgen_tests/slave_plugin/slave_plugin.disabled 1970-01-01 00:00:00 +0000 |
626 | @@ -1,9 +0,0 @@ |
627 | -[test_info] |
628 | -name = randgen_slave_plugin |
629 | -comment = basic, basic randgen test |
630 | - |
631 | -[test_command] |
632 | -command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/optimizer_subquery_drizzle.yy --queries=10 --threads=1 |
633 | - |
634 | -[test_servers] |
635 | -servers = [[--innodb.replication-log=true],[--plugin-add=slave --slave.config-file=$MASTER_SERVER_SLAVE_CONFIG]] |
636 | |
637 | === added file 'tests/randgen_tests/trx_log/multi_thread1.disabled' |
638 | --- tests/randgen_tests/trx_log/multi_thread1.disabled 1970-01-01 00:00:00 +0000 |
639 | +++ tests/randgen_tests/trx_log/multi_thread1.disabled 2011-02-24 23:26:09 +0000 |
640 | @@ -0,0 +1,8 @@ |
641 | +[test_info] |
642 | +comment = single threaded test |
643 | + |
644 | +[test_command] |
645 | +command = ./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent1.yy --Reporter=DrizzleTransactionLog --queries=100 --threads=3 |
646 | + |
647 | +[test_servers] |
648 | +servers = [[--transaction-log.enable]] |
649 | |
650 | === added file 'tests/randgen_tests/trx_log/multi_thread1_mix.disabled' |
651 | --- tests/randgen_tests/trx_log/multi_thread1_mix.disabled 1970-01-01 00:00:00 +0000 |
652 | +++ tests/randgen_tests/trx_log/multi_thread1_mix.disabled 2011-02-24 23:26:09 +0000 |
653 | @@ -0,0 +1,8 @@ |
654 | +[test_info] |
655 | +comment = single threaded test |
656 | + |
657 | +[test_command] |
658 | +command = ./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent1.yy --Reporter=DrizzleTransactionLog --queries=50 --threads=3 --seed=time |
659 | + |
660 | +[test_servers] |
661 | +servers = [[--transaction-log.enable]] |
662 | |
663 | === added file 'tests/randgen_tests/trx_log/multi_thread2.disabled' |
664 | --- tests/randgen_tests/trx_log/multi_thread2.disabled 1970-01-01 00:00:00 +0000 |
665 | +++ tests/randgen_tests/trx_log/multi_thread2.disabled 2011-02-24 23:26:09 +0000 |
666 | @@ -0,0 +1,8 @@ |
667 | +[test_info] |
668 | +comment = single threaded test |
669 | + |
670 | +[test_command] |
671 | +command = ./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent2.yy --Reporter=DrizzleTransactionLog --queries=75 --threads=3 |
672 | + |
673 | +[test_servers] |
674 | +servers = [[--transaction-log.enable]] |
675 | |
676 | === added file 'tests/randgen_tests/trx_log/multi_thread2_mix.disabled' |
677 | --- tests/randgen_tests/trx_log/multi_thread2_mix.disabled 1970-01-01 00:00:00 +0000 |
678 | +++ tests/randgen_tests/trx_log/multi_thread2_mix.disabled 2011-02-24 23:26:09 +0000 |
679 | @@ -0,0 +1,8 @@ |
680 | +[test_info] |
681 | +comment = single threaded test |
682 | + |
683 | +[test_command] |
684 | +command = ./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent2.yy --Reporter=DrizzleTransactionLog --queries=50 --threads=3 --seed=time |
685 | + |
686 | +[test_servers] |
687 | +servers = [[--transaction-log.enable]] |
688 | |
689 | === added file 'tests/randgen_tests/trx_log/multi_thread3.disabled' |
690 | --- tests/randgen_tests/trx_log/multi_thread3.disabled 1970-01-01 00:00:00 +0000 |
691 | +++ tests/randgen_tests/trx_log/multi_thread3.disabled 2011-02-24 23:26:09 +0000 |
692 | @@ -0,0 +1,8 @@ |
693 | +[test_info] |
694 | +comment = single threaded test |
695 | + |
696 | +[test_command] |
697 | +command = ./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent3.yy --Reporter=DrizzleTransactionLog --queries=75 --threads=3 |
698 | + |
699 | +[test_servers] |
700 | +servers = [[--transaction-log.enable]] |
701 | |
702 | === added file 'tests/randgen_tests/trx_log/multi_thread3_mix.disabled' |
703 | --- tests/randgen_tests/trx_log/multi_thread3_mix.disabled 1970-01-01 00:00:00 +0000 |
704 | +++ tests/randgen_tests/trx_log/multi_thread3_mix.disabled 2011-02-24 23:26:09 +0000 |
705 | @@ -0,0 +1,8 @@ |
706 | +[test_info] |
707 | +comment = single threaded test |
708 | + |
709 | +[test_command] |
710 | +command = ./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent3.yy --Reporter=DrizzleTransactionLog --queries=50 --threads=3 --seed=time |
711 | + |
712 | +[test_servers] |
713 | +servers = [[--transaction-log.enable]] |
714 | |
715 | === removed file 'tests/randgen_tests/trx_log/simple.cnf' |
716 | --- tests/randgen_tests/trx_log/simple.cnf 2011-02-23 17:17:25 +0000 |
717 | +++ tests/randgen_tests/trx_log/simple.cnf 1970-01-01 00:00:00 +0000 |
718 | @@ -1,9 +0,0 @@ |
719 | -[test_info] |
720 | -name = randgen_simple |
721 | -comment = basic, basic randgen test |
722 | - |
723 | -[test_command] |
724 | -command = ./gentest.pl --gendata=conf/drizzle/drizzle.zz --grammar=conf/drizzle/optimizer_subquery_drizzle.yy --queries=10 --threads=1 |
725 | - |
726 | -[test_servers] |
727 | -servers = [[--transaction-log.enable]] |
728 | |
729 | === added file 'tests/randgen_tests/trx_log/single_thread3.disabled' |
730 | --- tests/randgen_tests/trx_log/single_thread3.disabled 1970-01-01 00:00:00 +0000 |
731 | +++ tests/randgen_tests/trx_log/single_thread3.disabled 2011-02-24 23:26:09 +0000 |
732 | @@ -0,0 +1,8 @@ |
733 | +[test_info] |
734 | +comment = single threaded test |
735 | + |
736 | +[test_command] |
737 | +command = ./gentest.pl --gendata=conf/drizzle/translog_drizzle.zz --grammar=conf/drizzle/translog_concurrent3.yy --Reporter=DrizzleTransactionLog --queries=100 --threads=1 |
738 | + |
739 | +[test_servers] |
740 | +servers = [[--transaction-log.enable]] |
741 | |
742 | === added file 'tests/randgen_tests/trx_log/trx_ordering.disabled' |
743 | --- tests/randgen_tests/trx_log/trx_ordering.disabled 1970-01-01 00:00:00 +0000 |
744 | +++ tests/randgen_tests/trx_log/trx_ordering.disabled 2011-02-24 23:26:09 +0000 |
745 | @@ -0,0 +1,8 @@ |
746 | +[test_info] |
747 | +comment = simple trx ordering test |
748 | + |
749 | +[test_command] |
750 | +command = ./gentest.pl ---gendata=conf/drizzle/translog_ordering.zz --grammar=conf/drizzle/translog_ordering.yy --Reporter=DrizzleTransactionLog --threads=5 --queries=75 |
751 | + |
752 | +[test_servers] |
753 | +servers = [[--transaction-log.enable]] |
Should note that a number of tests are disabled while I adjust the randgen + dbqp to better accomodate them (they use validation servers and I need to be able to detect variable ports and such).
Will handle fixing these under a separate bug but wanted them in the tree