Commit Graph

201 Commits

Author SHA1 Message Date
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
4805b7b5c8 Note in docs: As of pt-table-checksum 2.2.5, skipped chunks cause a non-zero exit status. Also report skipped chunks due to lock wait timeout and killed query like other skipped chunks. Enhance explanation of SKIPPED column. 2013-10-10 12:21:39 -07:00
Daniel Nichter
cd29c0d7dc Make ptc exit status 0, 255, or a bitmask of flags for various problems. 2013-10-03 11:32:11 -07:00
Daniel Nichter
ccb9ac616c Make failing test better. 2013-10-02 11:26:11 -07:00
Daniel Nichter
2411cf6880 Add failing test case. 2013-10-02 10:53:36 -07: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
Brian Fraser
7d5da6e6f5 Rebased the branch to trunk 2013-04-12 12:58:10 -03:00
Brian Fraser
db0a29561c Fixes per Daniel's review 2013-04-09 10:21:15 -03:00
Daniel Nichter
e5e6b1d9b9 Fix pt-heartbeat/pxc.t. Exit early in test-env if wget fails. Add APP=FORK|mysql to start-sandbox so it too works around the pxc mysqld -V bug; add FORK=pxc to start_sandbox() calls. 2013-03-08 10:07:05 -08:00
vagrant
664449b153 Do not 'REPLACE INTO percona_test.sentinel' in start-sandbox because it doesn't work with RBR. Fix pt-table-checksum/pxc.t re this, and make pt-osc/pxc.t better re this. 2013-03-07 13:17:01 -08:00
Daniel Nichter
45813e082d Merge pt-osc-metadata-lock-bug-1113301. 2013-03-04 12:06:34 -07:00
Daniel Nichter
1d42a09196 Remove --lock-wait-timeout from pt-table-checksum; make innodb_lock_waitout=1 a --set-vars default. Update all the ptc tests. 2013-03-01 19:02:13 -07:00
Daniel Nichter
a8f52fd532 Fix t/pt-table-checksum/replication_filters.t again because my Mac is the odd ball. 2013-03-01 18:31:31 -07:00
Daniel Nichter
e40f973ed8 Fix t/pt-table-checksum/replication_filters.t again, better. 2013-03-01 17:28:20 -07:00
Daniel Nichter
fad6d17647 Fix t/pt-table-checksum/replication_filters.t again, better. 2013-03-01 15:06:47 -07:00
Daniel Nichter
c1a11168bc Fix t/pt-table-checksum/replication_filters.t fofor MySQL 5.6. 2013-02-27 21:59:34 -07:00
Daniel Nichter
2ffe8737a4 Fix pt-table-checksum/basics.t test that was affected by bug 1087804, and test for bug 1087804. 2013-02-27 19:44:37 -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
1726cf2bb8 Hopefully redirect MySQL 5.6 warning about -ppassword in pt-table-checksum/error_handling.t to diag. 2013-02-19 07:58:33 -07:00
Daniel Nichter
7621d2c4ce Fix skip_innodb.t tests. 2013-02-19 07:53:19 -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
923e643b04 Skip skip_innodb.t tests with 5.6 because it seems like InnoDB can't be disabled any longer. 2013-02-18 18:17:38 -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
2b73157967 Fix some minor test issues. 2013-02-18 13:54:25 -07:00
Daniel Nichter
4c519735f7 Merge 2.1.9 fixes. 2013-02-05 09:47:17 -07:00
Brian Fraser
c91246e1ca Fix for 1105077: pt-table-checksum: Confusing error message with binlog_format ROW or MIXED on slave 2013-01-30 13:30:31 -03:00
Daniel Nichter
baded38d2c Warn if no slaves are found. 2013-01-03 08:58:58 -07:00
Daniel Nichter
bc3fb2c812 Make timing test more reasonable on fast systems. 2012-12-20 16:18:15 -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
Brian Fraser
42484ecd10 Merged mysql-5.6-test-fixes and resolved conflicts 2012-12-19 13:47:54 -03:00
Daniel Nichter
d25a778b9f Fix two possible sources of test errors. 2012-12-14 12:14:12 -07:00
Daniel Nichter
ea526799d3 Merge trunk r487. 2012-12-07 11:52:33 -07:00
Brian Fraser fraserb@gmail.com
2f7345f06b Merged fix-1050737-1075638-ptc-division-by-zero-nibble_time 2012-12-05 20:32:25 -03: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
9edf7bf471 Merge 2.1 r476. 2012-12-03 20:08:27 +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
9b97298721 Don't use -pmsandbox because 5.6 mysql cli warns that it's not safe. Plus, /tmp/PORT/use already adds --defaults-file=/tmp/PORT/my.sandbox.cnf. 2012-12-01 11:17:18 -07:00
Daniel Nichter
f6fd2b7470 Only run t/pt-table-checksum/pxc.t if in cluster mode. 2012-11-30 18:14:06 +00:00
Daniel Nichter
065e0a8c5e Merge 2.1 at r473. 2012-11-30 00:23:42 +00:00
Daniel Nichter
90a91cd384 Merge pt-osc-pxc-tests. 2012-11-29 17:10:51 -07:00
Brian Fraser
2614eabd31 Merged fix-1074179-ptc-replicate-check-only-filters 2012-11-29 17:14:14 -03:00
Brian Fraser
d496fbcf11 Tests for pt-archiver + PXC 2012-11-29 07:29:24 -03: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
Brian Fraser fraserb@gmail.com
823914826a Removed three autodetect tests that were rightfully failing -- I thought the tests were for cluster1 -> cluster2, but they were for cluster1, unrelated cluster2 2012-11-25 19:12:17 -03:00
Brian Fraser fraserb@gmail.com
79a5c39cec WIP Autodetect nodes & recurse to find new slaves 2012-11-25 18:51:06 -03:00