Fixed pt-mysql-summary & pt-upgrade tests

This commit is contained in:
Carlos Salguero
2017-01-18 11:12:07 -03:00
parent c97d690e9e
commit 972c810962
8 changed files with 2 additions and 26 deletions

View File

@@ -73,7 +73,7 @@ for my $i (2..7) {
no_diff( no_diff(
sub { sub {
local $ENV{_NO_FALSE_NEGATIVES} = 1; local $ENV{_NO_FALSE_NEGATIVES} = 1;
print `$env $trunk/bin/$tool --read-samples $trunk/t/pt-mysql-summary/samples/temp00$i -- --defaults-file=/tmp/12345/my.sandbox.cnf | tail -n+3 | perl -wlnpe 's/Skipping schema analysis.*/Specify --databases or --all-databases to dump and summarize schemas/'` print `$env $trunk/bin/$tool --read-samples $trunk/t/pt-mysql-summary/samples/temp00$i -- --defaults-file=/tmp/12345/my.sandbox.cnf | tail -n+3 | perl -wlnpe 's/Skipping schema analysis.*/Specify --databases or --all-databases to dump and summarize schemas/' | grep -v jemalloc`
}, },
"t/pt-mysql-summary/samples/expected_output_temp00$i.txt", "t/pt-mysql-summary/samples/expected_output_temp00$i.txt",
), ),

View File

@@ -275,8 +275,4 @@ report-port = 12345
log-error = mysqld.log log-error = mysqld.log
innodb_lock_wait_timeout = 3 innodb_lock_wait_timeout = 3
# Memory management library ################################## # Memory management library ##################################
jemalloc is not enabled in MySQL config for process with ID 20983
jemalloc is not enabled in MySQL config for process with ID 20874
jemalloc is not enabled in MySQL config for process with ID 20800
jemalloc is not enabled in MySQL config for process with ID 2495
# The End #################################################### # The End ####################################################

View File

@@ -218,8 +218,4 @@ report-port = 12345
log-error = mysqld.log log-error = mysqld.log
innodb_lock_wait_timeout = 3 innodb_lock_wait_timeout = 3
# Memory management library ################################## # Memory management library ##################################
jemalloc is not enabled in MySQL config for process with ID 20983
jemalloc is not enabled in MySQL config for process with ID 20874
jemalloc is not enabled in MySQL config for process with ID 20800
jemalloc is not enabled in MySQL config for process with ID 2495
# The End #################################################### # The End ####################################################

View File

@@ -217,8 +217,4 @@ report-port = 12345
log-error = mysqld.log log-error = mysqld.log
innodb_lock_wait_timeout = 3 innodb_lock_wait_timeout = 3
# Memory management library ################################## # Memory management library ##################################
jemalloc is not enabled in MySQL config for process with ID 20983
jemalloc is not enabled in MySQL config for process with ID 20874
jemalloc is not enabled in MySQL config for process with ID 20800
jemalloc is not enabled in MySQL config for process with ID 2495
# The End #################################################### # The End ####################################################

View File

@@ -290,8 +290,4 @@ report-port = 12345
log-error = mysqld.log log-error = mysqld.log
innodb_lock_wait_timeout = 3 innodb_lock_wait_timeout = 3
# Memory management library ################################## # Memory management library ##################################
jemalloc is not enabled in MySQL config for process with ID 20983
jemalloc is not enabled in MySQL config for process with ID 20874
jemalloc is not enabled in MySQL config for process with ID 20800
jemalloc is not enabled in MySQL config for process with ID 2495
# The End #################################################### # The End ####################################################

View File

@@ -339,8 +339,4 @@ log_queries_not_using_indexes | OFF
# Configuration File ######################################### # Configuration File #########################################
Config File | Cannot autodetect or find, giving up Config File | Cannot autodetect or find, giving up
# Memory management library ################################## # Memory management library ##################################
jemalloc is not enabled in MySQL config for process with ID 20983
jemalloc is not enabled in MySQL config for process with ID 20874
jemalloc is not enabled in MySQL config for process with ID 20800
jemalloc is not enabled in MySQL config for process with ID 2495
# The End #################################################### # The End ####################################################

View File

@@ -293,8 +293,4 @@ log_queries_not_using_indexes | OFF
# Configuration File ######################################### # Configuration File #########################################
Config File | Cannot autodetect or find, giving up Config File | Cannot autodetect or find, giving up
# Memory management library ################################## # Memory management library ##################################
jemalloc is not enabled in MySQL config for process with ID 20983
jemalloc is not enabled in MySQL config for process with ID 20874
jemalloc is not enabled in MySQL config for process with ID 20800
jemalloc is not enabled in MySQL config for process with ID 2495
# The End #################################################### # The End ####################################################

View File

@@ -1,7 +1,7 @@
$results = { $results = {
query_time => '0', query_time => '0',
warnings => { warnings => {
'1265' => { 1265 => {
code => '1265', code => '1265',
level => 'Warning', level => 'Warning',
message => 'Data truncated for column \'username\' at row 1' message => 'Data truncated for column \'username\' at row 1'