Commit Graph

73 Commits

Author SHA1 Message Date
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
Daniel Nichter a44a273800 Revert back to ok() for Sandbox::ok() so tests file don't have to be updated. Shorten verify_test_data_integrity() to verify_test_data(). 2012-06-05 11:02:48 -07:00
Brian Fraser fraserb@gmail.com 1f4d99665f pt-table-sync: Bail out if --lock-and-rename and MySQL <= 5.5 2012-06-05 14:41:36 -03:00
Daniel Nichter d8d019aecc Make pt-table-sync/issue_79.t stable by waiting for tables to repl to the slave. 2012-06-05 09:07:18 -06:00
Daniel Nichter 1b11b7d7d9 Kill cxn only if using a db in Sandbox::wipe_clean(). Fix pt-duplicate-key-checker/basics.t for 5.0. Make pt-table-sync/lock_and_rename.t more stable. 2012-06-04 18:46:35 -07:00
Baron Schwartz 6cc17a73c2 A few miscellaneous changes, including a fix for metadata locking and wipe_clean in Sandbox.pm 2012-06-03 17:20:12 -04:00
Daniel Nichter bdbb66d22b Re-add calls to Sandbox::ok(). 2012-06-03 13:54:32 -04:00
Daniel Nichter 46131ee7a4 Unset src tbl_struct when the db or tbl changes. Add test for just --replicate. 2012-05-22 11:47:24 -06:00
Daniel Nichter ec43d0c0aa Add failing test in bugs.t. 2012-05-22 11:08:20 -06:00