mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-22 03:44:55 +00:00
PT-1554 (WIP) Tests for MySQL 8
There are tests failing but the sandbox doesn't crash
This commit is contained in:
@@ -256,9 +256,11 @@ SKIP: {
|
||||
is($d->{S}, '/tmp/12345/mysql_sandbox12345.sock', 'Filled in socket');
|
||||
is($d->{h}, '127.0.0.1', 'Left hostname alone');
|
||||
|
||||
my $want = $sandbox_version lt '8.0' ? [ qw(utf8 utf8 utf8) ]: [ qw(utf8mb4 utf8mb4 utf8mb4) ];
|
||||
warn Data::Dumper::Dumper($want);
|
||||
is_deeply(
|
||||
$dbh->selectrow_arrayref('select @@character_set_client, @@character_set_connection, @@character_set_results'),
|
||||
[qw(utf8 utf8 utf8)],
|
||||
$want,
|
||||
'Set charset'
|
||||
);
|
||||
$dbh->disconnect();
|
||||
@@ -276,7 +278,7 @@ SKIP: {
|
||||
};
|
||||
is_deeply(
|
||||
$dbh->selectrow_arrayref('select @@character_set_client, @@character_set_connection, @@character_set_results'),
|
||||
[qw(utf8 utf8 utf8)],
|
||||
$want,
|
||||
'Set utf8 charset case-insensitively (issue 1282)'
|
||||
);
|
||||
};
|
||||
|
Reference in New Issue
Block a user