Commit Graph

1125 Commits

Author SHA1 Message Date
Brian Fraser fraserb@gmail.com
e025b66bd2 pt-osc: Fix the __DIE__ handler to account for eval, also make sure to wait until the slaves replicate the triggers 2012-06-07 17:45:24 -03:00
Brian Fraser fraserb@gmail.com
63b31873e5 PerconaTest::full_output: Fix a bug in the returned status 2012-06-07 17:43:50 -03:00
Baron Schwartz
aa42210f72 Fix a number of SQL queries to work with ANSI_QUOTES 2012-06-06 23:36:07 -04:00
Baron Schwartz
b9304dabb5 Fix a number of SQL queries to work with ANSI_QUOTES 2012-06-06 23:14:20 -04:00
Daniel Nichter
46fdc4be4e Fix general_log config for 5.5. 2012-06-07 12:51:44 -04:00
Daniel Nichter
17edb54398 Wait for changes to replicate in pt-table-sync/issue_634.t. 2012-06-07 12:45:01 -06:00
Daniel Nichter
fb64cdda99 Wait for changes to replicate in pt-table-sync/bugs.t. 2012-06-07 12:43:18 -04:00
Daniel Nichter
79c716d358 Remove pt-table-sync/issue_79.t (it was broken but coincidentally working) and write better tests in filters.t. Add subs to Sandbox and PerconaTest to clear and parse tables used from the general logs. Set log=genlog in the sandbox configs. 2012-06-07 12:38:45 -04:00
Brian Fraser fraserb@gmail.com
8d4354090e Fix for #949630: pt-query-digest mentions a Subversion repository 2012-06-07 12:02:47 -03:00
Brian Fraser fraserb@gmail.com
03a9461daf Removed PerconaTest::{wait_until_no_lag|wait_until_slaves_running}, replaced them with Sandbox::wait_for_slaves 2012-06-07 12:00:40 -03:00
Daniel Nichter
dac0731251 Remove PerconaTest::wait_for_table() after calls to Sandbox::load_file() which now implicitly calls Sandbox::wait_for_slaves(). 2012-06-07 10:25:44 -04:00
Baron Schwartz
4af46e81f9 Make t/pt-online-schema-change/alter-active-table.t less fickle, but still not 100% fixed 2012-06-06 16:45:13 -04:00
Baron Schwartz
af38351e82 wait for slaves after load_file 2012-06-06 16:32:14 -04:00
Daniel Nichter
6614cae630 Make pt-table-sync/binlog_format.t stable. 2012-06-07 09:30:05 -04:00
Daniel Nichter
312169a4c0 Make t/pt-archiver/issue_1225.t by waiting for the table. 2012-06-07 08:11:25 -04:00
Baron Schwartz
9e4e97ca03 fix timing issue in t/pt-slave-delay/standard_options.t 2012-06-06 14:05:36 -04:00
Daniel Nichter
1283ceafdd Wait for slaves in pt-upgrade/rewrite_non_select.t to make it stable. 2012-06-06 23:25:51 -04:00
baron
a76143f772 fix a timing issue in pt-ioprofile.t 2012-06-06 22:55:19 -04:00
Baron Schwartz
673058e012 put some feedback in t/pt-online-schema-change/basics.t for impatient testers 2012-06-06 13:15:33 -04:00
Baron Schwartz
7c4b37e2c1 Fix a timing issue in t/pt-table-sync/triggers.t 2012-06-06 13:04:36 -04:00
Baron Schwartz
44970ae99a fix another timing issue in t/pt-table-sync/issue_634.t 2012-06-06 12:58:33 -04:00
Baron Schwartz
45a1f20565 fix t/pt-query-digest/explain.t for MySQL 5.5 2012-06-06 12:49:33 -04:00
Baron Schwartz
671c78c184 fix timing issues with /pt-table-sync/master_master.t 2012-06-06 12:39:52 -04:00
Daniel Nichter
e43b4e15ca Modernize and make pt-table-sync/master_master.t stable. 2012-06-06 22:13:20 -04:00
Baron Schwartz
d2c63e1030 make t/lib/TableChunker.t non-non-deterministic 2012-06-06 12:16:25 -04:00
Daniel Nichter
add06645d8 Modernize and hopefully make pt-query-digest/issue_360.t stable. 2012-06-06 21:43:53 -04:00
baron
52271eec9e prevent annoying error messages about unsigned thread_stack value blah blah 2012-06-06 21:30:15 -04:00
baron
7a57261843 fix things looking for hardcoded mysqlbinlog path (t/pt-table-checksum/replication_filters.t and t/pt-table-sync/traces.t) 2012-06-06 21:29:34 -04:00
baron
7facc149a8 fix a timing issue in t/pt-slave-restart/pt-slave-restart.t 2012-06-06 21:29:30 -04:00
Brian Fraser fraserb@gmail.com
e454e37532 Update the SchemaIterator samples to account for the sentinel table 2012-06-06 21:13:13 -03:00
Brian Fraser fraserb@gmail.com
81dd96bf02 Merged lp:~percona-toolkit-dev/percona-toolkit/pt-osc-wait-for-slaves 2012-06-06 19:44:12 -03:00
Brian Fraser fraserb@gmail.com
000fdd86b8 pt-osc: Nicer waiting code 2012-06-06 13:36:53 -03:00
Brian Fraser fraserb@gmail.com
02eb9b7a0a Moved the slave replication wait to execute earlier 2012-06-06 13:28:59 -03:00
Brian Fraser fraserb@gmail.com
4d2560c24c pt-osc: Wait for the slaves to replicate the table before working on them. 2012-06-06 12:21:26 -03:00
Brian Fraser fraserb@gmail.com
3babaab15a Merged lp:~percona-toolkit-dev/percona-toolkit/pt-osc-cleanup-guards 2012-06-06 11:50:00 -03:00
Brian Fraser fraserb@gmail.com
85e9996b55 t/lib/Daemon.t: Make the timing tests slightly more forgiving for slow machines 2012-06-06 11:40:03 -03:00
Baron Schwartz
de439e74d8 rewrite t/pt-table-sync/replicate_do_db.t test -- but it's not 100% complete 2012-06-06 08:57:01 -04:00
Brian Fraser fraserb@gmail.com
ed3d22ce38 t/pt-table-checksum/basics.t: Updated samples and tests 2012-06-06 18:38:13 -03:00
Daniel Nichter
03ebae4d3c Update pt-table-checksum/basics.t samples for percona_test.sentinel on MySQL 5.0. 2012-06-06 14:29:08 -07:00
Daniel Nichter
f4b3bdb88b Use just RAND() instead of RAND() + NOW() to avoid be coerced to an int and therefore not sub-second safe. 2012-06-06 13:52:17 -07:00
Daniel Nichter
a178bb32f8 Use md5 "pings" in percona_test.sentinel for sub-second tests that call wipe_clean() twice. Update t/lib/samples/SchemaIterator/all-dbs-tbls-5.0.txt for percona_test.sentinel. Restart slaves in pt-table-checksum/replication_filters.t. Modernize and make pt-table-sync/replicate_do_db.t stable. 2012-06-06 13:31:24 -07:00
Baron Schwartz
e15c712398 update samples for 5.5 for t/pt-table-checksum/basics.t 2012-06-06 06:53:13 -04:00
Baron Schwartz
a6431b0554 remove nondeterministic/dangerous stuff, do the sync from table to table on the master only, not touching a slave 2012-06-06 06:25:14 -04:00
Brian Fraser fraserb@gmail.com
92f1ee976d Fix the test plan for t/pt-table-checksum/replication_filters.t 2012-06-06 16:40:16 -03:00
Daniel Nichter
14b615ebd9 5s default wait_until() time. Wait 5m instead of 16m for wipe_clean(). Don't connect to slave2 in wipe_clean() any longer. 2012-06-06 11:43:56 -07:00
Daniel Nichter
805b9dec4a Clear mysql.db from default 5.1 sandbox data. 2012-06-06 14:31:36 -04:00
Baron Schwartz
9865ad451d add sanity checks and slave-lag synchronization to prevent replication breakage, false sandbox breakage, etc. 2012-06-06 04:47:45 -04:00
Brian Fraser fraserb@gmail.com
c2bb24befc Merged lp:~percona-toolkit-dev/percona-toolkit/replace-MKDEBUG 2012-06-06 14:15:05 -03:00
Brian Fraser fraserb@gmail.com
0dc793dc9d Updated samples for t/pt-table-checksum/basics.t on 5.1 2012-06-06 13:45:30 -03:00
Daniel Nichter
8d344b421b Skip Daemon.t test that's not reliable, and wait until pid file is gone. Call wipe_clean() in pt-table-sync/bidirectional.t and pt-table-sync/issue_1065.t. 2012-06-06 09:07:43 -07:00