PT-2340 - Support MySQL 8.4

- Added sleep to t/lib/MasterSlave.t, so it does not fail on fast machines
- Disabled SSL tests on versions earlier than 8.0
This commit is contained in:
Sveta Smirnova
2024-11-14 22:48:06 +03:00
parent 3786d4e4ce
commit f57d63ab00
21 changed files with 65 additions and 1 deletions

View File

@@ -23,7 +23,10 @@ my $dbh = $sb->get_dbh_for('source');
if ( !$dbh ) {
plan skip_all => 'Cannot connect to sandbox source';
}
if ( !@{ $dbh->selectall_arrayref("show databases like 'sakila'") } ) {
elsif ( $sandbox_version lt '8.0' ) {
plan skip_all => "Requires MySQL 8.0 or newer";
}
elsif ( !@{ $dbh->selectall_arrayref("show databases like 'sakila'") } ) {
plan skip_all => "Sakila database is not loaded";
}