Commit graph

415 commits

Author SHA1 Message Date
msvensson@neptunus.(none)
c7b9472a6d Cleanup ndb options 2006-06-14 21:45:15 +02:00
msvensson@neptunus.(none)
79bdcc49c9 Remove opt_local, noone knows what it should do 2006-06-14 20:36:23 +02:00
msvensson@neptunus.(none)
47142b6730 Update explanation why test was skipped 2006-06-14 16:03:27 +02:00
msvensson@neptunus.(none)
826663ccc5 Skip tests that need debug binaries only if binaries are _not_ debug compiled 2006-06-12 09:00:33 +02:00
msvensson@neptunus.(none)
f5901f0eca Only process lines that start with -- 2006-06-12 00:05:02 +02:00
msvensson@neptunus.(none)
f84338557a Fix warnings
Make list of tags/name/values to simplify adding more tags
Check if debug compiled binaries
2006-06-11 23:13:32 +02:00
msvensson@neptunus.(none)
86487223cc Print total time spent exectuing test cases 2006-06-11 19:03:33 +02:00
msvensson@neptunus.(none)
582bf12fd4 Add more checks to determine if test can be skipped becuase the feature it uses are not supported.
Check for big-test, ndb-extra, require_manager and binlog format row/stmt
2006-06-11 15:49:34 +02:00
msvensson@neptunus.(none)
a25cc0b933 Change 'mtr_kill_process' to only take three arguments. The last indicating max number of seconds to wait for process to be killed.
Leave it to the implementation of 'mtr_kill_process' how long to wait between each attempt to kill/detect if process has been killed.
2006-06-11 11:28:11 +02:00
msvensson@neptunus.(none)
942b98384f Add printout of commment why test was skipped 2006-06-11 10:12:31 +02:00
msvensson@neptunus.(none)
ade1b6ce11 Prepare for selective restart of slaves
Add comment why test is skipped
2006-06-11 10:10:55 +02:00
msvensson@neptunus.(none)
2c538f6cde Merge bk-internal:/home/bk/mysql-5.1
into  neptunus.(none):/home/msvensson/mysql/mysql-5.1-new-maint
2006-06-10 20:33:50 +02:00
msvensson@shellback.(none)
36aa285718 Don't send port for ndb_mgmd to mtr_check_stop_servers. As it's not being shutdown by "ndb_mgm shutdown" it's no idea to wait for it to stop listening to port. Just make sure it's being killed. 2006-06-01 13:14:09 +02:00
andrey@lmy004.
ea20259aac Merge lmy004.:/work/mysql-5.1-new-vanilla
into lmy004.:/work/mysql-5.1-runtime
2006-05-29 15:16:07 +02:00
andrey@lmy004.
b4752351f2 Fix for bug #17394 - Events namespace is wrong 2006-05-29 10:39:45 +02:00
reggie@big_geek.
86787fb3b8 mtr_misc.pl:
Fix mtr_exe_exists to work on win32
2006-05-24 08:32:08 -05:00
msvensson@shellback.(none)
1e21055db5 Updated after review 2006-05-23 15:59:52 +02:00
msvensson@shellback.(none)
1cf3b0d3bf Use mtr_kill_process from mtr_kill_processes
Change to use 0.1 second sleep between kill attempt
2006-05-23 15:25:17 +02:00
msvensson@shellback.(none)
15b6bd3fe1 Merge shellback.(none):/home/msvensson/mysql/mysql-5.1
into  shellback.(none):/home/msvensson/mysql/mysql-5.1-new-maint
2006-05-19 17:19:57 +02:00
msvensson@shellback.(none)
30accebbde Wait until first mysqld in slave cluster has created cluster/apply_status.ndb, put workaround in function workaround_hang_in_select
Add verbose printouts
2006-05-19 16:28:08 +02:00
msvensson@shellback.(none)
2c912f9d80 Add mtr_verbose to print more verbose output when --verbose flag is used 2006-05-19 11:42:53 +02:00
msvensson@shellback.(none)
3a3690a934 Start servers in parallel
Add list of clusters and nodes
2006-05-18 23:35:17 +02:00
msvensson@shellback.(none)
f4920b706f Merge bk-internal:/home/bk/mysql-5.1-new
into  shellback.(none):/home/msvensson/mysql/mysql-5.1-new-maint
2006-05-18 20:21:43 +02:00
msvensson@shellback.(none)
d083fbaa76 Save "master_opt" in master so it can be checked later to see if it's the same as the test that are about to run uses the same. 2006-05-18 19:52:43 +02:00
knielsen@mysql.com
a061c90d8a Merge mysql.com:/usr/local/mysql/tmp_merge
into  mysql.com:/usr/local/mysql/merge-5.1
2006-05-18 11:56:50 +02:00
msvensson@shellback.(none)
206fe5f559 Parse test files to find out if it needs innodb or not, mark test as 'innodb_test' if it does and add "--skip-innodb" to master_opts if it does not. 2006-05-17 23:54:48 +02:00
konstantin@mysql.com
85c6883146 Merge mysql.com:/opt/local/work/mysql-5.0-root
into  mysql.com:/opt/local/work/mysql-5.0-runtime-merge
2006-05-15 00:51:12 +04:00
anozdrin@mysql.com
3b74668bfa Partial fix for BUG#14106: IM: im_life_cycle and im_utils
tests fail on FreeBSD.

The patch contains of the following:
  - make Instance Manager, running in the daemon mode, dump
    the pid of angel-process in the special file;
  - default value of angel-pid-file-name is 'mysqlmanager.angel.pid';
  - if ordinary (IM) pid-file-name is specified in the configuration,
    angel-pid-file-name is updated according to the following
    rule: extension of the basename of pid-file-name is replaced by
    '.angel.pid.
    For example:
    - pid-file-name: /tmp/im.pid
      => angel-pid-file-name: /tmp/im.angel.pid
    - pid-file-name: /tmp/im.txt
      => angel-pid-file-name: /tmp/im.angel.pid
    - pid-file-name: /tmp/5.0/im
      => angel-pid-file-name: /tmp/5.0/im.angel.pid
  - add support for configuration option to customize angel
    pid file name;
  - fix test suite to use angel pid to kill Instance Manager
    by all means if something went wrong.

Background
----------

The problem is that on some OSes (FreeBSD for one) Instance
Manager does not get SIGTERM, so can not shutdown gracefully.
Test suite wasn't able to cope with it, so this leads to the
mess in test results.

The problem should be split into two:
  - fix signal handling;
  - fix test suite.

This patch fixes test suite so that it will be able to kill
uncooperative Instance Manager. In order to achieve this,
test suite needs to know PID of IM Angel process.
2006-05-06 13:57:56 +04:00
monty@mysql.com
8c7783c1e0 Don't use row level logging on optimize or repair table.
(Fixes core dump in rpl_failed_optimize.test)
Ensure we end active transcations if we do an admin command (like optimize, repair etc)
2006-05-05 20:08:40 +03:00
monty@mysql.com
7f3c895332 Merge mysql.com:/home/my/mysql-5.0
into  mysql.com:/home/my/mysql-5.1
2006-05-04 22:27:12 +03:00
monty@mysql.com
9e460e7a25 Fixed wrong free in sql_view.cc
mysql-test-run now fails in case of warnings
2006-05-04 22:19:31 +03:00
monty@mysql.com
86b2be8d35 After merge fixes
Remove compiler warnings
Fix some broken tests
Workaround for syncronization bug in NDB (Bug #16445)
2006-05-04 06:28:24 +03:00
monty@mysql.com
d689f2fa70 Cleanups after review of WL#602
Fixed warnings from test suite
Some fixes in mysql-test-run script to catch more warnings
2006-05-03 19:40:52 +03:00
jimw@mysql.com
b4586b2908 Clean up after big merge 2006-05-01 00:14:32 -07:00
jimw@mysql.com
f21c110d13 Merge mysql.com:/home/jimw/my/mysql-5.0-clean
into  mysql.com:/home/jimw/my/mysql-5.1-clean
2006-04-30 13:27:38 -07:00
msvensson@shellback.(none)
6aa775f348 Return empty string if file does not exist
Set LD_LIBRARY_PATH and UDF_EXAMPLE_LIB from $lib_udf_example
2006-04-27 21:26:24 +02:00
msvensson@shellback.(none)
0e5113aead Add test to mysql-test-run.pl to see if the udf_example.so is availble. Set envioronment variable UDF_EXAMPLE_LIB if it is.
Then check in have_udf if that variable is set. Finally use tahe variable when loading the shared library.
2006-04-27 16:32:40 +02:00
msvensson@neptunus.(none)
0e08e39763 Change sleep_until_file_created to sleep 100 millisecond instead of sleeping 1 seconds between each iteration. 2006-04-26 13:22:18 +02:00
msvensson@neptunus.(none)
7e3593def8 Bug#19084 ./mysql-test-run.pl do not print bootstrap run info
- Log boostratp/install to var/log/boostrap.log
 - Log output from mysqladmin to var/log/mysqladmin.log
 - Remove old manager references
2006-04-24 11:26:41 +02:00
msvensson@neptunus.(none)
cb69ff25da Move copy_dir to mtr_misc and rename it to mtr_copy_dir 2006-04-24 10:27:13 +02:00
msvensson@neptunus.(none)
1f2ac2195a Remove 5 second sleep for win32 2006-04-24 10:22:26 +02:00
igreenhoe@mysql.com
5f43b8609a Fix for bug #18979, bad RE in mysql-test-run.pl 2006-04-17 19:43:19 -07:00
msvensson@neptunus.(none)
cf0f40599c Merge neptunus.(none):/home/msvensson/mysql/my51-bug18415
into  neptunus.(none):/home/msvensson/mysql/mysql-5.1
2006-04-12 08:32:02 +02:00
msvensson@neptunus.(none)
796445957e Bug#18415 mysql-test-run.pl does not run on ActiveState perl
- Part 1, better handling of subprocess and stdout to be done
2006-04-12 08:30:34 +02:00
joerg@mysql.com
24bf40caec Null-merge, as the changes in question were backports from 5.1. 2006-04-07 13:58:45 +02:00
joerg@mysql.com
df09a0cedc Manual merge. 2006-04-07 13:16:40 +02:00
joerg@mysql.com
7e4d41de58 Perl test script: Avoid some aborts, which made the whole build/test process terminate. 2006-04-07 13:02:15 +02:00
msvensson@shellback.
67e045986d Remove duplicate declaration of stress_basdir 2006-03-28 19:30:08 +02:00
andrey@lmy004.
75cba7b5cc manual merge 2006-03-25 00:24:04 +01:00
andrey@lmy004.
531ad766ed fix for bug#16415 Events names are case sensitive 2006-03-24 17:45:52 +01:00