Commit Graph

49 Commits

Author SHA1 Message Date
Sveta Smirnova
b332537481 PT-2340 - Support MySQL 8.4
- Fixed staff I broke for 8.0
2024-08-23 16:03:53 +03:00
Sveta Smirnova
5c999ca3e0 PT-2340 - Support MySQL 8.4
- Removed runtime.txt after discussion with Anastasia Alexandrova
- Added "use VersionParser" into tests in t/lib when needed
- Removed word master from tests for pt-archiver, pt-config-diff, pt-deadlock-logger, pt-duplicate-key-checker, pt-find, pt-fk-error-logger, pt-heartbeat, pt-index-usage, pt-ioprofile, pt-kill, pt-mysql-summary
- Removed word slave from tests for pt-archiver, pt-config-diff, pt-deadlock-logger, pt-duplicate-key-checker, pt-find, pt-fk-error-logger, pt-heartbeat, pt-index-usage, pt-ioprofile, pt-kill, pt-mysql-summary
- Updated modules for pt-archiver, pt-config-diff, pt-deadlock-logger, pt-duplicate-key-checker, pt-find, pt-fk-error-logger, pt-heartbeat, pt-index-usage, pt-ioprofile, pt-kill, pt-mysql-summary
- Changed mysql_ssl patch, so it is now short option s
- Added a check for existing zombies in t/pt-kill/execute_command.t
- Added bin/pt-galera-log-explainer to .gitignore
2024-07-27 01:59:52 +03:00
Sveta Smirnova
2f584c85db PT-2140 - Update modules in the main branch (#570)
* PT-2140 - Update modules in the main branch

Updated modules for:
- pt-align
- pt-archiver
- pt-config-diff
- pt-deadlock-logger
- pt-diskstats
- pt-duplicate-key-checker
- pt-fifo-split
- pt-find
- pt-fingerprint
- pt-fk-error-logger
- pt-heartbeat
- pt-index-usage
- pt-ioprofile
- pt-kill
- pt-mext
- pt-mysql-summary
- pt-online-schema-change
- pt-pmp
- pt-query-digest
- pt-show-grants
- pt-sift
- pt-slave-delay
- pt-slave-find
- pt-slave-restart
- pt-summary
- pt-table-sync
- pt-upgrade
- pt-variable-advisor

Added execute bit for pt-query-digest

* PT-2140 Update modules in the main branch

Fixed Daemon.pm plugin usage
Updated all tests, related to the Daemon plugin.
I intentionally did not fix failing tests, not related to Daemon plugin,
to avoid making this PR too big.

- bin/pt-archiver
	- PT-2141 - Fixed usage of Daemon.pm
	- PT-2141 - Updated t/pt-archiver/standard_options.t
- bin/pt-deadlock-logger
	- PT-2143 - Fixed usage of Daemon.pm
	- PT-2143 - Updated t/pt-deadlock-logger/standard_options.t
- bin/pt-fifo-split
	- PT-2144 - Fixed usage of Daemon.pm
	- PT-2144 - Updated t/pt-fifo-split/pt-fifo-split.t
- bin/pt-find
	- PT-2145 - Fixed usage of Daemon.pm
	- PT-2145 - Updated t/pt-find/pt-find.t
- bin/pt-fk-error-logger
	- PT-2146 - Fixed usage of Daemon.pm
	- PT-2146 - Updated t/pt-fk-error-logger/basics.t
- bin/pt-heartbeat
	- PT-2147 - Fixed usage of Daemon.pm
	- PT-2147 - Updated t/pt-heartbeat/standard_options.t, t/pt-heartbeat/basics.t
- bin/pt-kill
	- PT-2148 - Fixed usage of Daemon.pm
	- PT-2148 - Updated t/pt-kill/standard_options.t
- bin/pt-show-grants
	- PT-2152 - Fixed usage of Daemon.pm
	- PT-2152 - Updated t/pt-show-grants/standard_options.t
- bin/pt-slave-delay
	- Fixed usage of Daemon.pm
	- Updated t/pt-slave-delay/standard_options.t
- bin/pt-slave-find
	- PT-2153 - Fixed usage of Daemon.pm
	- PT-2153 -Updated t/pt-slave-find/pt-slave-find.t
- bin/pt-slave-restart
	- Fixed usage of Daemon.pm
	- Updated t/pt-slave-restart/pt-slave-restart.t
- bin/pt-table-sync
	- PT-2154 - Fixed usage of Daemon.pm
	- PT-2154 -Updated t/pt-table-sync/standard_options.t
2023-01-06 15:04:10 +03:00
Carlos Salguero
543f30c073 PT-1986 Check schema exists upon start (#503) 2021-07-29 12:15:23 -03:00
Carlos Salguero
e1b7a6a1fd PT-1857 heartbeat can't reconnect (#475)
* PT-1857 pt-heartbeat reconnect

* PT-1857 Updated changelog
2020-12-24 16:23:42 -03:00
Carlos Salguero
97cdc1d14d PT-1554 Fixes for Ubuntu 14.04 tests 2018-05-31 10:57:00 -03:00
Carlos Salguero
0004bb7bbc PT-1554 (WIP) Tests for MySQL 8
There are tests failing but the sandbox doesn't crash
2018-05-30 21:25:28 -03:00
Carlos Salguero
9eaf5e217a PT-1508 Added test & updated changelog 2018-03-26 16:23:32 -03:00
Carlos Salguero
56f5202dbf WIP MySQL 8 support 2018-01-18 12:47:38 -03:00
Carlos Salguero
1d1c13fbcb WIP 2018-01-16 11:11:16 -03:00
Carlos Salguero
5c42d84c95 BUG-1517155 Added --create-table-engine param to pt-heartbeat 2016-07-07 12:57:04 -03:00
frank-cizmich
ec8ceec463 pt-heartbeat added binlog_format check 2016-01-14 14:59:38 -03:00
frank-cizmich
6433c99713 various 5.7 test and tool compatibility fixes 2015-12-24 09:49:17 -03:00
frank-cizmich
b408fcfd01 misc test and sandbox fixes 2015-08-03 17:26:51 -03:00
Daniel Nichter
ed757b6dcd SET time_zone='+0:00' when --utc is used. Fix another test that was a false-positive, revealed by this fix. Rename bugs.t to utc.t because it only has --utc tests. 2013-04-04 17:18:01 -06:00
Daniel Nichter
6376556c20 Failing test. 2013-04-04 17:08:10 -06:00
Brian Fraser
f591534a1b Merged lp:~percona-toolkit-dev/percona-toolkit/pt-heartbeat-read_only-28934 2013-03-15 15:10:24 -03:00
Daniel Nichter
720405d0ed Merge latest. 2013-03-08 13:02:54 -08:00
Daniel Nichter
3f0473052c Fix pt-hb/pxc.t so it's not thrown off by previous tests. 2013-03-08 13:01:19 -08:00
Daniel Nichter
1de56cd6ab Merge latest. 2013-03-08 13:29:53 -07:00
Daniel Nichter
f616c43734 Add diag output to pt-hb/pxc.t. 2013-03-08 13:29:02 -07: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
Brian Fraser
f06f930498 pt-heartbeat: Add an option to handle running on servers with read_only=1 2013-02-21 08:11:28 -03:00
Daniel Nichter
2cc48cb139 Implement --utc. 2013-01-22 16:51:33 -07:00
Daniel Nichter
ca8fc5e47e Add failling test for bug 1103221. Add --utc option, not implemented yet. 2013-01-22 16:22:59 -07:00
Brian Fraser
6f6a984cde t/pt-heartbeat/bugs.t: Wait for test.heartbeat in slave1 before testing 2012-12-19 13:53:13 -03:00
Brian Fraser
98e63a504e Merged fix-886059-pt-heartbeat-timezones 2012-12-13 22:38:40 -03:00
Brian Fraser
40f8903c1d Fixes to pxct. per Daniel's review 2012-12-13 21:08:43 -03:00
Daniel Nichter
c3433e767f Remove pt-hb sentinel file and docu test case. 2012-12-13 09:20:48 -07:00
Brian Fraser
f3ad4c7d56 Fix for 886059: pt-heartbeat handles timezones inconsistently 2012-12-13 00:05:06 -03:00
Brian Fraser
9c63f61725 PXC+pt-heartbeat tests 2012-12-11 18:47:00 -03:00
Daniel Nichter
7b5e2fc7a2 Don't use literal values for t/pt-heartbeat/basics.t 'It is being updated' test. Use direct call rather than backticks. 2012-10-25 15:57:22 -06:00
Daniel Nichter
a3950411b9 Add back PerconaTest::slurp_file(). Put in scope in pt-index-usage. Sort MySQL instance IDs for testing. Wait for pid file in pt-heartbeat/basics.t. 2012-08-28 15:28:34 -06:00
Daniel Nichter
92a36715c4 Remove test-env reset. Fix pt-fifo-split plan. 2012-08-14 17:08:06 -06:00
Daniel Nichter
c1a286bb41 Respect --replcace when doing INSERT after --create-table. 2012-07-20 16:05:20 -06: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
a64bf961e8 Fix test counts. 2012-06-03 15:14:30 -04:00
Daniel Nichter
a2810a0ec1 Remove duplicate calls to Sandbox::ok(). 2012-06-03 14:38:21 -04:00
Daniel Nichter
bdbb66d22b Re-add calls to Sandbox::ok(). 2012-06-03 13:54:32 -04:00
Daniel Nichter
7e880b0808 Call Sandbox::box() in all tests that use Sandbox. 2012-06-03 12:59:56 -04:00
Daniel Nichter
9383572742 Merge trunk r174. 2012-02-07 13:10:11 -07:00
Daniel Nichter
f68cc7a29b Fix pt-heartbeat tests. 2012-02-01 10:36:00 -07:00
Daniel Nichter
0c785d63b2 Fix pt-index-usage/basics.t by fixing pt-heartbeat/standard_options.t. Make pt-kill/basics.t dump output if tests fail. 2011-08-25 11:44:56 -06:00
Daniel Nichter
048ad9493c Various test tweaks for stability. 2011-08-25 11:08:57 -06:00
Daniel Nichter
e93381d6b6 Make sandbox scripts simpler and more reliable. Remove "remove" option from stop-sandbox and update tests that used it. 2011-08-23 09:11:00 -06:00
Daniel Nichter
945cfbd153 Fix Bash tests. Add basic pt-align tests. 2011-08-02 15:14:06 -06:00
Daniel Nichter
eb01431399 Change MaatkitTest to PerconaTest in all tool tests. Add stub tests for pt-align and pt-collect. 2011-07-12 16:56:55 -06:00
Daniel Nichter
8e11cd85b3 Change mk_tool::main() to pt_tool::main() in all tests. 2011-06-29 11:56:49 -06:00
Daniel Nichter
b4b6376be1 Add forked Maatkit tools in bin/ and their tests in t/. 2011-06-24 16:02:05 -06:00