PT-2295 - Fix tests on distributions

- Clean up in the beginning of t/pt-table-checksum/basics.t
This commit is contained in:
Sveta Smirnova
2024-02-01 15:21:16 +03:00
parent 7369476a8d
commit 50d08a46f2

View File

@@ -23,6 +23,10 @@ use Sandbox;
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 $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
my $master_dbh = $sb->get_dbh_for('master');