Commit Graph

81 Commits

Author SHA1 Message Date
Carlos Salguero
998b37f3c0 Fixed type in pt-table-sync test and updated changelog 2018-03-26 10:24:46 -03:00
Carlos Salguero
5ec398dbec PT-572 Removed dbug info 2018-02-21 16:50:58 -03:00
Carlos Salguero
ec25735ca4 PT-572 More tests fixed 2018-02-21 16:42:26 -03:00
Carlos Salguero
8943e0a9f6 Merge branch '3.0' into mysql-8 2018-02-19 12:11:07 -03:00
Carlos Salguero
75ab0ba653 PT-1256 pt-table-sync does not use the character set for the table it is synchronizing 2018-02-09 16:46:16 -03:00
Carlos Salguero
51dcca5959 PT-572 Fixes for MySQL 8
- Updated sandbox data file
- Fixes for pt-upgrade since there is no query_cache in MySQL 8
- Updates for SchemaIterator since there are new/renamed tables in MySQL 8
- Disabled some tests due to errors in MySQL 8.0.4-rc
2018-02-01 11:30:12 -03:00
Carlos Salguero
af69008a10 PT-221 pt-table-sync support for MyRocks 2017-11-30 11:36:43 -03:00
Carlos Salguero
7dcef2671c PT-139 Added --channels option to MasterSlave 2017-05-11 18:06:49 -03:00
Carlos Salguero
f6d2e89027 Fixed all tests for MySQL 5.7
Most of the failing tests were failing due to changes in MySQL 5.7
default sql_mode and because of invalid timestamps ('0000-00-00')
2017-05-03 15:48:11 -03:00
Carlos Salguero
fabcf01e2a PT-101 WIP 2017-03-15 17:08:31 -03:00
Carlos Salguero
410e75a623 Updated tests for schema iterator 2017-01-16 23:42:11 -03:00
Carlos Salguero
14f42bf988 Fixed t/pt-table-sync/basics.t 2017-01-16 20:37:58 -03:00
Carlos Salguero
e5262d6dfe Updates test. Removed extra CR 2016-07-12 18:18:40 -03:00
Carlos Salguero
e5cfbab197 Tests for 'quote enum fields'. PR #102 2016-07-12 17:45:07 -03:00
Carlos Salguero
350a4fd641 Added tests for BUG-1595678 / pt-table-sync 2016-07-07 15:33:38 -03:00
Daniel Nichter
39c020020c Add and test --[no]check-child-tables. 2013-12-13 19:31:30 -08:00
Daniel Nichter
166173a318 Don't quote FLOAT or DOUBLE in Quoter::quote_val(). 2013-10-10 15:58:02 -07:00
Daniel Nichter
5e46d013a9 Failing test case for bug 1229861. 2013-10-10 15:44:48 -07:00
Daniel Nichter
f0b7712528 Fix tests to work with new --set-vars, and change --lock-wait-timeout to --set-vars innodb_lock_wait_timeout in tests. 2013-03-02 10:17:23 -07:00
Daniel Nichter
07b818b730 Merge p:~percona-toolkit-dev/percona-toolkit/fix-1087319-quoter-multiple-nulls 2013-02-19 13:01:58 -07:00
Daniel Nichter
3f8e1a4ea6 Fix t/pt-table-sync/traces.t again. 2013-02-18 18:55:05 -07:00
Daniel Nichter
2b73157967 Fix some minor test issues. 2013-02-18 13:54:25 -07:00
Daniel Nichter
ecf3fe754e Fix upper oob test. 2013-01-23 11:03:12 -07:00
Daniel Nichter
91ce8bb3b1 Test syncing the upper oob chunk. 2013-01-23 10:42:19 -07:00
Daniel Nichter
7f7eaa2b10 Fix diff_where() for lower oob chunks. Add PT_TEST_NO_TRACE to remove /* trace messages */ from queries for testing, and remove trace messages from the sample output. 2013-01-23 10:15:08 -07:00
Daniel Nichter
dbf2ac477e Add failing tests for bug 918056. 2013-01-23 09:43:41 -07:00
Daniel Nichter
526a12438e Fix pt-table-sync/basics.t data because timestamps in sakila.sql changed. 2012-12-04 00:34:56 +00:00
Brian Fraser
0ac09e77b4 Fix 1036747: Remove priv checks from pt-table-sync 2012-08-16 18:06:49 -03:00
Brian Fraser
0d26097f31 t/pt-table-sync/wait.t: use wait_until() instead of sleep() 2012-07-23 13:48:05 -03:00
Brian Fraser
bfa5f488fa Merged new-versionparser 2012-07-20 17:25:10 -03:00
Brian Fraser
c00598d3fb Two VersionParser oversights in pt-table-sync 2012-07-11 16:46:54 -03:00
Brian Fraser
8179b1f1a1 Updated the tests to use the new VersionParser 2012-07-11 15:21:47 -03:00
Daniel Nichter
4c7243d944 Tweak pt-table-sync/replicate_do_db.t to be more stable and give more info when certain tests fail. 2012-07-09 16:54:32 -06: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
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
Daniel Nichter
6614cae630 Make pt-table-sync/binlog_format.t stable. 2012-06-07 09:30:05 -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
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
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 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
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
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
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
Brian Fraser fraserb@gmail.com
909552bf40 t/pt-table-sync/issue_634.t: Wait for the slave to replicate 2012-06-05 19:27:12 -03:00
Daniel Nichter
3160b70b00 Fix pt-table-sync/issue_1065.t from modifying sakila tables. Add util/diff-and-restart-sandbox. 2012-06-05 15:56:22 -06:00
Brian Fraser fraserb@gmail.com
5d8b2956a0 t/pt-table-sync/triggers.t: Use wait_for_table and wait for both tables to replicate 2012-06-05 15:36:05 -03:00