Commit Graph

1115 Commits

Author SHA1 Message Date
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
baron
dcf2268514 Change precision/scale/size for decimal type based on DBD::mysql version 2012-06-06 10:51:25 -04:00
Baron Schwartz
1a40d1301f Make sandbox servers log their actions, remove test-env reset from pt-table-checksum/basics.t to stop replication breakage 2012-06-06 00:57:19 -04:00
Daniel Nichter
48677eb4d1 All Test::More::diag() in Sandbox.pm instead of just diag(). 2012-06-05 19:56:46 -07:00
Daniel Nichter
0e4b01bad7 Make wipe_clean() wait until 12347 is clean. Fix ChangeHandler.t, CompareResults.t, and Quoter.t so they leave the dbs clean. 2012-06-05 19:55:03 -07:00
Daniel Nichter
4c57313785 Make ChangeHandler.t clean up its dbs on slave1 and slave2. 2012-06-05 19:02:15 -07:00
Daniel Nichter
e960fcb8bc Make ChangeHandler.t clean up its dbs. 2012-06-05 19:00:25 -07:00
Daniel Nichter
2d7cc5e8a4 Check for leftover databases. Fix MasterSlave.t so it doesn't leave leftover dbs and it resets 12347. 2012-06-05 18:55:32 -07:00
Brian Fraser fraserb@gmail.com
e57b67f10e Cxn & pt-osc: Guard the cleanup tasks.
Does this twofold: By adding a __DIE__ hook to make sure they are
called, and by checking that the dbh is an actual database handle.
2012-06-05 16:24:32 -03:00
Brian Fraser fraserb@gmail.com
c4a8a67204 t/lib/SchemaIterator.t: Update the samples and skip the percona_test db when applicable 2012-06-05 16:01:37 -03:00
Daniel Nichter
04d6a51074 Fix TableParser.t modifying mysql.user and mysql.db, and pt-online-schema-change/basics.t modifying mysql.proc. 2012-06-05 11:51:33 -07:00