Bjorn Munch
66d661d4dd
merge 47978,48683
2009-11-24 12:26:06 +01:00
Bjorn Munch
8e04f4c73c
Bug #47978 timer : expired after 90 seconds
...
Problems occur after killing threads on Windows
Get rid of the timeout threads, implement simple timer in wait_any_timeout()
2009-11-24 09:12:48 +01:00
Bjorn Munch
0adf3db01f
upmerge 35543,48367,48671,48806,48808
2009-11-19 10:24:24 +01:00
Bjorn Munch
db1b1160dd
merge 48808
2009-11-19 10:19:18 +01:00
Bjorn Munch
964a6ebaac
merge 48806
2009-11-19 10:17:56 +01:00
Bjorn Munch
1cc0f036d6
merge 35543
2009-11-19 10:14:25 +01:00
Bjorn Munch
91bb19f44e
Bug #35543 mysqlbinlog.cc does not properly work with tmp files
...
mtr patch ported to v2
2009-11-19 10:10:21 +01:00
Bjorn Munch
9d69adc9d6
Bug #48367 MTR should react to server dying, rather than to resulting failure of mysqltest
...
For some reason it usually picks up mysqltest
Wait .1s and then see if a server has died
Change from first commit: label on separate line
2009-11-19 09:58:50 +01:00
Bjorn Munch
54bdfab91e
Bug #48808 mysql-test-run.pl --debugger=devenv does not work
...
Wrong argument order, fixed
2009-11-18 10:27:43 +01:00
Bjorn Munch
2b0be38266
Bug #48806 mysql-test-run.pl --help should work even in the absence of binaries
...
Searches for my_safe_process binary too early
Put this into a sub() and call it after examining options (incl. --help)
2009-11-17 12:13:22 +01:00
Bjorn Munch
9053565e7b
merge 48795
2009-11-16 15:30:25 +01:00
Bjorn Munch
6edaebbf57
Bug #48795 Valgrind summary from tests where server has been restarted cause test failure
...
Seen in a few tests after 43418
Add code in extract_warning_lines() to skip this part
2009-11-16 11:18:16 +01:00
Bjorn Munch
c83b3beb40
merge 43418
2009-11-12 11:14:56 +01:00
Bjorn Munch
59940cdcd2
Bug #43418 MTR2: does not notice a memory leak occuring at shutdown of mysqld w/ --valgrind
...
Checking is done before server is terminated
Adds post processing of server logs if --valgrind
Also had to remove --quiet option to valgrind
2009-11-12 11:04:01 +01:00
Bjorn Munch
6478fcb93d
merge 47663 and 48209
2009-11-04 14:57:16 +01:00
Bjorn Munch
ea91cac7eb
merge 48209
2009-11-04 14:44:19 +01:00
Bjorn Munch
91a7be405c
upmerge 48240
2009-10-26 15:29:38 +01:00
Bjorn Munch
6c28505e6e
Bug #48240 "Test suite timeout" and "Too many tests failed" is masked from status page
...
Prepend "Completed", "Timeout" or "Too many failed" to summary line
2009-10-26 14:28:51 +01:00
Bjorn Munch
fe76fb69a0
Bug #48209 Confusing message "Test has succeeded" after test fails due to warnings
...
There's no need for --verbose for the mysqltest in check-warnings, remove it
2009-10-23 13:04:55 +02:00
Bjorn Munch
6756d64b81
new merge from trunk
2009-10-22 09:13:44 +02:00
Bjorn Munch
684b1d39ac
merge 48149
2009-10-20 12:05:28 +02:00
Bjorn Munch
e00d636494
merge 48149
2009-10-20 12:04:55 +02:00
Bjorn Munch
23ef842e03
Bug #48149 MTR should automatically skip SSL tests if SSL not supported
...
Knowledge of no SSL support is not used
Skip tests the same way e.g. innodb tests are
Does not refer to have_ssl_communication.inc,
will add this when merging to 6.0-codebase
2009-10-19 15:51:47 +02:00
Bjorn Munch
a47a167492
merge 48130 and 48133
2009-10-19 15:33:34 +02:00
Bjorn Munch
3e43817fca
merge 48130 and 48133 from 5.1
2009-10-19 15:12:16 +02:00
Bjorn Munch
6c68019899
Bug #48133 MTR should not dump entire history of mysqld log when failing to start server
...
Don't print entire log, but use extract_server_log() introduced by 46007
2009-10-18 13:01:46 +02:00
Bjorn Munch
264c330fd0
Bug #48130 Expected failures should not count towards max-test-fail
...
Test batches may be terminated too early
Avoid counting exp-fail tests
2009-10-17 18:34:56 +02:00
Bjorn Munch
6c9cb9ba22
merge from 5.1 main
2009-10-16 23:25:05 +02:00
Bjorn Munch
b21c62bedd
merge 46007 from 5.1
2009-10-16 11:02:37 +02:00
Bjorn Munch
23306c563a
Bug #46007 Tests fail due to a crash while running 'check testcase before test'
...
Difficult to debug due to lacking report
This does not solve the real issue, but extracts server log when it happens
Forst commit was incomplete, didn't cover all cases
2009-10-14 09:31:34 +02:00
Alexander Nozdrin
0f51423532
Merge from mysql-5.1.
2009-10-13 13:42:38 +04:00
Bjorn Munch
de54fa30a6
avoid regexp warning after 46625
2009-10-09 15:18:43 +02:00
Bjorn Munch
1cfe27ba58
avoid regexp warning after 46625
2009-10-09 15:16:36 +02:00
Bjorn Munch
e2e8115528
Remove obsolete comments after fixing 42408
2009-10-08 14:32:45 +02:00
Bjorn Munch
ebd84796fe
Remove obsolete comments after fixing 42408
2009-10-08 14:31:39 +02:00
Bjorn Munch
79a1ba30e1
merge from mtr-51
2009-10-08 11:34:42 +02:00
Bjorn Munch
57d40c6ba4
Bug #47716 mtr2 prints obscure error when started with -gdb and xterm is missing
...
Tried to use an expression inside ""
Go via variable, and add $exe to the output
2009-10-08 11:23:04 +02:00
Bjorn Munch
00709918e4
Bug #46625 Pushbuild2: does not notice test failure in "Innodb Plugin" mode
...
Disallow (and don't use) space in combination names
2009-10-08 11:14:42 +02:00
Magnus Blåudd
700f21b7a0
Bug#47801 The plugin test fails with the Embedded Server on Windows
...
- Remove the "hack" from mtr.pl that skipped searching for the .dll files
when embedded and windows. Now the variables will be preoperly initialized.
- Make the tests detect that they can't run on windows+embedded
2009-10-08 10:39:15 +02:00
Magnus Blåudd
d94752f42b
Merge
2009-10-08 10:32:43 +02:00
Bjorn Munch
a3f4fcc5ae
merge 46327 and 47811 from 5.1-mtr
2009-10-06 10:58:29 +02:00
Bjorn Munch
0311f538b0
Bug #47811 ./mysql-test-run.pl --valgrind uses old (too narrow) allignment
...
Remove the alignment option, let valgrind use its default
2009-10-06 10:42:05 +02:00
Bjorn Munch
a0ed9a389d
Bug #46327 MTR2 prevents gcov data accumulation
...
mysqladmin fails on Linux in 6.0 without --character-sets-dir
Also added timeout for server shutdown, hope this will solve it
2009-10-06 10:35:35 +02:00
Bjorn Munch
aef601d4e3
merge 47243 from 5.1
2009-10-05 13:12:04 +02:00
Bjorn Munch
bd3e299482
Bug #47243 Allow MTR to read max auto setting for --parallel from env. variable
...
In stead of hard-coded 8, read from $MTR_MAX_PARALLEL if set
2009-10-05 13:08:10 +02:00
Ingo Struewing
c2e1614814
auto-merge
2009-10-02 13:27:48 +02:00
Ingo Struewing
21586dfb08
WL#4259 - Debug Sync Facility
...
Backport from 6.0 to 5.1.
Only those sync points are included, which are used in debug_sync.test.
The Debug Sync Facility allows to place synchronization points
in the code:
open_tables(...)
DEBUG_SYNC(thd, "after_open_tables");
lock_tables(...)
When activated, a sync point can
- Send a signal and/or
- Wait for a signal
Nomenclature:
- signal: A value of a global variable that persists
until overwritten by a new signal. The global
variable can also be seen as a "signal post"
or "flag mast". Then the signal is what is
attached to the "signal post" or "flag mast".
- send a signal: Assign the value (the signal) to the global
variable ("set a flag") and broadcast a
global condition to wake those waiting for
a signal.
- wait for a signal: Loop over waiting for the global condition until
the global value matches the wait-for signal.
Please find more information in the top comment in debug_sync.cc
or in the worklog entry.
2009-09-29 17:38:40 +02:00
Davi Arnaut
73153f1cb3
Don't use the semicolon character as a argument separator as it
...
can be interpreted as a shell metacharacter in some circumstances.
For example, it is interpreted as a command separator when invoking
a debugger.
2009-09-29 11:11:46 -03:00
Magnus Blåudd
621e98a31b
Bug#47612 mtr - improving the report for valgrind erorrs
...
- Improve the report produced when a valgrind error is detected
2009-09-24 16:09:11 +02:00
Bjorn Munch
726df480f9
merge from 5.1 of merge from 5.1-mtr
2009-09-22 23:41:37 +02:00