Commit Graph

73 Commits

Author SHA1 Message Date
Carlos Salguero
00ea1b280e Fixes for pt-table-checksum tests 2017-01-23 14:10:54 -03:00
Carlos Salguero
c97d690e9e Fixes for table-checksum 2017-01-17 10:15:18 -03:00
Carlos Salguero
df1e9585ef Tests for bug 1485195 (utf8 encoding) 2016-07-12 12:25:16 -03:00
Carlos Salguero
d042a4dd6a updated tests 2016-06-27 15:22:31 -03:00
Carlos Salguero
c7e7ba7331 bug-1592608 BLOB/TEXT/BINARY Checksum uses CRC32 2016-06-23 17:14:25 -03:00
frank-cizmich
b85379017e misc test fixes for pt-table-checksum 5.7 compat 2016-01-28 21:39:27 -03:00
Frank Cizmich
5237185732 merged ptc-errors-on-slave-with-different-time-zone-1388870 2015-01-20 13:57:28 -02:00
Frank Cizmich
62d84e5dba normalize timestamp data on servers with different tz - 1388870 2014-12-01 15:50:19 -02:00
Frank Cizmich
3aebac505a added result files for 5.7 tests 2014-12-01 13:41:31 -02:00
Frank Cizmich
ccfe78b9f3 include deadlocks among the type of errors that can be retried 2014-07-28 14:52:38 -03:00
Kenny Gryp
ef313207dc Changes as requested by daniel in merge feedback:
- change to get_slave_lag
- if then else
- chop comments 80 char wide
2014-04-23 13:24:11 +02:00
Kenny Gryp
4ecae6b50f missing plugin.t and all_hooks.pm for pt-table-checksum --plugin functionality 2014-03-25 17:00:42 +01:00
Daniel Nichter
70f5c17bc4 Fix ptc by making ts column explicitly NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP. 2013-06-25 18:30:12 -07:00
Daniel Nichter
302a9a21a1 Add failing test in settings.t. Add EXTRA_DEFAULTS_FILE to start-sandbox so a sandbox can be started with any additional settings, like explicit_defaults_for_timestamp. 2013-06-25 18:18:29 -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
b795d7448c Add from 5.6 samples. 2013-02-18 18:51:44 -07:00
Daniel Nichter
5bb577a75b Stablize the annoyingi pt-table-checksum/basics.t tests that always change by insignificant amounts anytime we change something with sandboxes. 2013-02-18 18:51:14 -07:00
Daniel Nichter
eb2585fb32 Various test fixes for MySQL 5.6.10 (which seems not to have mysql.hosts any longer). 2013-02-18 18:06:05 -07:00
Daniel Nichter
dad38169bf Remove ndb_binlog_index from auto-skipped sys tables in SchemaIterator because it wasn't previously skipped in 5.1 and 5.5. 2012-12-20 23:05:06 +00:00
Daniel Nichter
dd333380f2 Ignore the new 5.6 mysql stats tables in SchemaIterator and update that module in all tools and updated affected samples. 2012-12-05 18:27:12 +00:00
Daniel Nichter
e7c3e908bb Create percona_test.sentinel in start-sandbox so wait_for_slave() works for other sandboxes. skip_all for skip_innodb.t with 5.6 because of http://bugs.mysql.com/67798. 2012-12-04 00:14:20 +00:00
Daniel Nichter
cb640e2cad Fix 5.6 data. Make start-sandbox load extra .sql files. Make ptc/basics.t pass on 5.6. 2012-12-03 21:08:42 +00:00
Daniel Nichter
6c9f4c0722 Fix sakila.sql so it loads on 5.0. Only wait 60s for replication for test-env start. 2012-12-03 20:06:47 +00:00
Daniel Nichter
51f5466aef Re-dump sakila.sql so it has the same ts so NibbleIterator.t doesn't fail. Consequently update 2 ptc tests now that mysql.proc is empty. 2012-11-28 14:39:19 -07:00
Daniel Nichter
e0f0ea0cdb Rewrite and enhance lib/Percona/XtraDB/Cluster.pm and t/pt-table-checksum/pxc.t. Change how ptc handles various cluster issues. Change lib/Sandbox.pm subs like start_sandbox() and start_cluster(). PXC docs in ptc are a work in progress. 2012-11-18 22:05:30 -07:00
Daniel Nichter
cc3826f665 Fix more test output broken by percona_test.load_data. Tweak ptc/t/privs.t so it passes on my box. Fix new start/stop scripts: don't check ibdata1 because SKIP_INNODB may be used. Make PerconaTest::output() cleaner. 2012-08-01 14:58:52 -06:00
Daniel Nichter
1875c92674 Partial bug fix: report max diffs, not just last slave's diffs. Still needs fixing to report count of all unique chunk# diffs. 2012-07-27 11:16:41 -06:00
Daniel Nichter
54733dad5f Test user privs for bug 916168. 2012-07-20 17:58:44 -06:00
Daniel Nichter
970f7d7e64 Merge ~percona-toolkit-dev/percona-toolkit/explain-checksum-chunks. 2012-06-10 13:25:44 -04:00
Daniel Nichter
60063f17a0 Implement and test --chunk-index index:n. 2012-06-10 10:43:42 -04:00
Baron Schwartz
8e9dfeec68 Some fixes for ANSI SQL quotes 2012-06-07 14:53:47 -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
Baron Schwartz
e15c712398 update samples for 5.5 for t/pt-table-checksum/basics.t 2012-06-06 06:53:13 -04: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
b4c4c2c85e Fix pt-table-checksum/basics.t to work with new percona_test db. 2012-06-05 15:00:25 -07:00
Daniel Nichter
4f83cf4102 Wait for --replicate table to repl on all slaves. Add wait_for arg to PerconaTest::full_output(). 2012-06-05 12:29:26 -04:00
Baron Schwartz
48fc1f82a7 Add version-specific results for mysql5.5 2012-06-04 12:04:16 -04:00
Daniel Nichter
f4957ba911 Use --chunk-size-limit || 1 for checking if a table can be done in one chunk to avoid chunking empty tables. Checksums for empty tables are now written. 2012-05-10 09:55:42 -06:00
Daniel Nichter
715f0f86e1 Merge fix-undef-arrayref-bug-995274. 2012-05-08 17:02:58 -06:00
Daniel Nichter
9bb2311fc2 Add failing unit test. 2012-05-08 12:07:40 -06:00
Daniel Nichter
1f5245b524 Add failing test. 2012-05-08 11:23:19 -06:00
Daniel Nichter
e2073065b1 EXPLAIN actual ascending nibble query to get MySQL's chosen index, and use that instead of the tool's chosen index. TODO: fix OobNibbleIterator.t and chunk_index.t. 2012-05-04 17:46:34 -06:00
Daniel Nichter
7247a3a9ac Test, ensure pt-table-checksum can handle col names with dots. 2012-03-01 08:20:12 -08:00
Daniel Nichter
8e9e8eb7a6 Test and fix space-flattening bug. 2012-02-21 13:22:56 -07:00
Daniel Nichter
df4662ce51 Compare index names lc but save them in their original case. 2012-02-06 13:29:08 -07:00
Daniel Nichter
f517675eb4 Compare lc(index) everywhere. 2012-02-03 11:38:20 -07:00
Daniel Nichter
4607cac898 Fix pt-table-checksum tests for MySQL 5.0. 2012-02-02 11:15:34 -07:00
Daniel Nichter
9d3c2f5002 Apply --where to chunk size test on replicas. 2012-01-31 12:42:53 -07:00
Daniel Nichter
e299b877ad Update fnv_64.t and replication_filters.t. 2011-12-27 11:50:33 -07:00