Commit Graph

58 Commits

Author SHA1 Message Date
frank-cizmich
8f8dc35075 removed couple of debugging leftovers 2016-01-12 18:07:49 -03:00
frank-cizmich
6433c99713 various 5.7 test and tool compatibility fixes 2015-12-24 09:49:17 -03:00
Frank Cizmich
ee5e46e08c disables only_full_group_by 2015-01-05 20:15:27 -02:00
Frank Cizmich
bcacd7e08a pt-table-checksum-PXC-inconsistent-results-upon-resume-1311654 2014-08-05 16:51:34 -03:00
Frank Cizmich
fa8254712b fixes pt-table-checksum-PXC-inconsistent-results-upon-resume-1311654 2014-07-17 17:50:37 -03:00
Frank Cizmich
d3044a1bec fixes pt-table-checksum and pt-osc rounding low max-load thresholds to same as starting value - issue 1253872 2014-07-11 13:39:25 -03:00
Frank Cizmich
1c1b3a9ac1 minor spelling correction 2014-07-06 21:43:50 -03: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
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
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
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
Brian Fraser
d6a7bf0cdb Remove the @INC shifts from the test files. This is no longer needed since the tools do their %INC mangling 2012-11-21 13:58:40 -03:00
Daniel Nichter
b5c48f07d1 Remove unused $limit. Make $chunk_size_limit || 1 because it's the one used for #-of-rows check on slaves. Reverse the new test because we don't want to disable the #-of-rows check. 2012-10-31 12:12:51 -06:00
Brian Fraser fraserb@gmail.com
1e3cc6131c Fix for 938660: pt-table-checksum chunk-size-limit of 0 does not disable chunk size limit checking 2012-10-30 11:55:49 -03: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
Brian Fraser
e9c9608c33 pt-archiver & tests: Deal with LOAD DATA LOCAL INFILE being disabled.
This occasionally shows up in some OSs, like Ubuntu 12.04 LTS.
2012-07-11 17:31:03 -03:00
Daniel Nichter
69ba6c4efd Reset nibble_time for each chunk. 2012-06-11 14:43:18 -04:00
Daniel Nichter
c9ace1b931 Failing test for SKIPPED if chunk # > 1. 2012-06-11 14:04:41 -04:00
Baron Schwartz
47fb3d65e8 Fix a bazillion tests with ANSI sql_mode, and get rid of a bunch of MySQLDump usage. 2012-06-09 14:43:33 -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
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
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
b4c4c2c85e Fix pt-table-checksum/basics.t to work with new percona_test db. 2012-06-05 15:00:25 -07: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
Baron Schwartz
5c23b95072 magic to check that tests didn't muck with test dataset 2012-06-05 03:24:59 -04:00
Baron Schwartz
48fc1f82a7 Add version-specific results for mysql5.5 2012-06-04 12:04:16 -04:00
Daniel Nichter
4e90f65736 Make pt-table-checksum/relication_filters.t and progress.t stable. Add PerconaTest::wait_until_no_lag(). Fix sandbox/test-env reset. 2012-06-04 07:33:14 -07:00
Daniel Nichter
bdbb66d22b Re-add calls to Sandbox::ok(). 2012-06-03 13:54:32 -04: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
4607cac898 Fix pt-table-checksum tests for MySQL 5.0. 2012-02-02 11:15:34 -07:00
Daniel Nichter
84929a0408 Test pt-table-chekcsum --where. 2012-01-31 13:09:46 -07:00
Daniel Nichter
024906eceb Test bug 819450. 2012-01-31 11:40:24 -07:00
Daniel Nichter
66c0abfe8e Don't reset @crc or @cnt. Docu output of --replicate-check-only. 2011-12-27 10:24:35 -07:00
Daniel Nichter
06b99e987c Don't checksum 1=1 on master if table on slave is too large. 2011-11-17 13:15:26 -07:00
Daniel Nichter
27456d00b7 Update all tests except resume.t for new OobNibbleIterator. Let NibbleIterator handle resume in pt-table-checksum. 2011-11-15 12:35:44 -07:00
Daniel Nichter
6dd46590e2 Untested but working first attempt to nibble rows below first lower boundary and above last upper boundary. 2011-11-14 17:53:46 -07:00
Daniel Nichter
53605aa45e Use Threads_running=25 as default --max-load. Allow = or : as var-val separator. 2011-11-01 12:13:02 -06:00
Daniel Nichter
41821380b6 Move oversize_chunks.t tests into basics.t and remove oversize_chunks.t. Remove unused sample files. 2011-10-20 11:54:28 -06:00
Daniel Nichter
e3bc2496c2 Add --retries. Increase ROWS col by 1 char. Update POD. Add --max-load='' in tests until fixed. 2011-10-20 10:55:21 -06:00
Daniel Nichter
c4db7c0633 Test and fix very small --chunk-time. Report immediately when a slave is stopped. Add short form -q for --quiet. Report very slow checksums once for each table. Use Cxn::name() instead of Cxn::dsn()->{n}; remove n from DSNParser; make cxn's name @@hostname by default, else stringified DSN parts. 2011-10-19 11:27:19 -06:00
Daniel Nichter
23e9b91d78 Update replication_filters.t and resume.t. 2011-10-15 15:03:25 -06:00
Daniel Nichter
60d8b1a710 Update issue_388.t, issue_47.t, issue_602.t. Rename issue_81.t to error_handling.t. Move issue_69.t tests into basics.t and remove issue_69.t. 2011-10-13 12:46:44 -06:00
Daniel Nichter
dfcb7dc157 Move issue_21. tests into basics.t and remove issue_21.t. Remove other unused sample files. 2011-10-13 11:57:32 -06:00
Daniel Nichter
675efca692 Update ignore_columns.t. Move issue_1020.t tests into basics.t and remove issue_1020.t. 2011-10-13 11:31:46 -06:00
Daniel Nichter
f7c85d547d Update chunk_size.t. Don't update progress if progress is disabled. 2011-10-13 09:45:26 -06:00
Daniel Nichter
271cd850d6 Enable --create-replicate-table by default, and create the repl db too. 2011-10-12 08:35:08 -06:00