Updated the tests to use the new VersionParser

This commit is contained in:
Brian Fraser
2012-07-11 15:21:47 -03:00
parent f9a29fed37
commit 8179b1f1a1
28 changed files with 103 additions and 79 deletions

View File

@@ -13,7 +13,6 @@ use Test::More;
use Sandbox;
use PerconaTest;
use VersionParser;
# See 101_slowlog_analyses.t for why we shift.
shift @INC; # our unshift (above)
shift @INC; # PerconaTest's unshift
@@ -22,7 +21,6 @@ shift @INC; # Sandbox
require "$trunk/bin/pt-query-digest";
my $dp = new DSNParser(opts=>$dsn_opts);
my $vp = new VersionParser();
my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
my $dbh = $sb->get_dbh_for('master');