mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-28 08:51:44 +00:00
clean up a couple of things causing tests to fail for me, and remove a feature that's not quite ready yet, and add another feature for innodb compression
This commit is contained in:
@@ -81,7 +81,7 @@ foreach my $child ( keys %children ) {
|
||||
}
|
||||
|
||||
# Test that there is a deadlock
|
||||
$output = $dbh1->selectrow_hashref('show innodb status')->{status};
|
||||
$output = $dbh1->selectrow_hashref('show /*!40101 engine*/ innodb status')->{status};
|
||||
like($output, qr/WE ROLL BACK/, 'There was a deadlock');
|
||||
|
||||
$output = `$cmd --print`;
|
||||
|
@@ -25,7 +25,7 @@ local $ENV{PTDEBUG} = "";
|
||||
|
||||
my $dir = tempdir( CLEANUP => 1 );
|
||||
|
||||
`$trunk/bin/$tool --sleep 1 --save-samples $dir`;
|
||||
`$trunk/bin/$tool --sleep 1 --save-samples $dir -- -P12345 -umsandbox -pmsandbox`;
|
||||
|
||||
ok(
|
||||
-e $dir,
|
||||
@@ -40,7 +40,9 @@ is(
|
||||
"And leaves all files in there"
|
||||
);
|
||||
|
||||
`$trunk/bin/$tool --sleep 1 --save-samples $dir`;
|
||||
`rm -rf "$dir/"*`;
|
||||
|
||||
`$trunk/bin/$tool --sleep 1 --save-samples $dir -- -P12345 -umsandbox -pmsandbox`;
|
||||
|
||||
open my $fh, "<", "$dir/mysql-variables" or die "Can't open file: $!";
|
||||
my $data = do { local $/; <$fh> };
|
||||
@@ -57,7 +59,7 @@ undef($dir);
|
||||
# --databases
|
||||
#
|
||||
|
||||
my $out = `$trunk/bin/$tool --sleep 1 --databases mysql 2>/dev/null`;
|
||||
my $out = `$trunk/bin/$tool --sleep 1 --databases mysql -- -P12345 -umsandbox -pmsandbox 2>/dev/null`;
|
||||
|
||||
like(
|
||||
$out,
|
||||
|
@@ -2,9 +2,6 @@
|
||||
Port Data Directory Nice OOM Socket
|
||||
===== ========================== ==== === ======
|
||||
3306 /var/lib/mysql ? ? /var/run/mysqld/mysqld.sock
|
||||
# MySQL Executable ###########################################
|
||||
Path to executable |
|
||||
Has symbols | Yes
|
||||
# Report On Port 3306 ########################################
|
||||
User | hugmeir@localhost
|
||||
Time | 2012-03-23 21:05:32 (ART)
|
||||
@@ -177,6 +174,7 @@ Uptime 90000 1 1
|
||||
Geospatial Types | No
|
||||
Foreign Keys | No
|
||||
Partitioning | No
|
||||
InnoDB Compression | No
|
||||
SSL | No
|
||||
Explicit LOCK TABLES | No
|
||||
Delayed Insert | No
|
||||
|
@@ -2,9 +2,6 @@
|
||||
Port Data Directory Nice OOM Socket
|
||||
===== ========================== ==== === ======
|
||||
12345 /tmp/12345/data 0 0 /tmp/12345/mysql_sandbox12345.sock
|
||||
# MySQL Executable ###########################################
|
||||
Path to executable | /home/vagrant/mysql-5.1.49-barebones/bin/mysql
|
||||
Has symbols | Yes
|
||||
# Report On Port 12345 #######################################
|
||||
User | msandbox@%
|
||||
Time | 2012-03-27 16:33:46 (BST)
|
||||
|
@@ -2,9 +2,6 @@
|
||||
Port Data Directory Nice OOM Socket
|
||||
===== ========================== ==== === ======
|
||||
12345 /tmp/12345/data 0 0 /tmp/12345/mysql_sandbox12345.sock
|
||||
# MySQL Executable ###########################################
|
||||
Path to executable | /usr/bin/mysql
|
||||
Has symbols | No
|
||||
# Report On Port 12345 #######################################
|
||||
User | msandbox@%
|
||||
Time | 2012-03-27 09:16:44 (CEST)
|
||||
|
Reference in New Issue
Block a user