mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 07:30:02 +00:00
PT-2295 - Fix tests on distributions
- Clean up in the beginning of t/pt-table-checksum/basics.t
This commit is contained in:
@@ -23,6 +23,10 @@ use Sandbox;
|
|||||||
|
|
||||||
require "$trunk/bin/pt-table-checksum";
|
require "$trunk/bin/pt-table-checksum";
|
||||||
|
|
||||||
|
# We need to restart, so environment is clean for the
|
||||||
|
# "Default checksum" test
|
||||||
|
diag(`$trunk/sandbox/test-env restart`);
|
||||||
|
|
||||||
my $dp = new DSNParser(opts=>$dsn_opts);
|
my $dp = new DSNParser(opts=>$dsn_opts);
|
||||||
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
|
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
|
||||||
my $master_dbh = $sb->get_dbh_for('master');
|
my $master_dbh = $sb->get_dbh_for('master');
|
||||||
|
Reference in New Issue
Block a user