PT-572 More tests fixed

This commit is contained in:
Carlos Salguero
2018-02-21 16:42:26 -03:00
parent 8943e0a9f6
commit ec25735ca4
9 changed files with 29 additions and 9 deletions

View File

@@ -23,6 +23,10 @@ my $sb = Sandbox->new(basedir => '/tmp', DSNParser => $dp);
my $master_dbh = $sb->get_dbh_for('master');
my $dbh = $sb->get_dbh_for('slave1');
if ($sandbox_version ge '5.7') {
plan skip_all => 'Use SQL_DELAY';
}
if ( !$dbh ) {
plan skip_all => 'Cannot connect to MySQL slave.';
}

View File

@@ -21,6 +21,10 @@ my $master_dbh = $sb->get_dbh_for('master');
my $slave1_dbh = $sb->get_dbh_for('slave1');
my $slave2_dbh = $sb->get_dbh_for('slave2');
if ($sandbox_version ge '5.7') {
plan skip_all => 'Use SQL_DELAY';
}
if ( !$master_dbh ) {
plan skip_all => 'Cannot connect to sandbox master';
}

View File

@@ -21,6 +21,10 @@ my $dp = DSNParser->new(opts => $dsn_opts);
my $sb = Sandbox->new(basedir => '/tmp', DSNParser => $dp);
my $dbh = $sb->get_dbh_for('slave1');
if ($sandbox_version ge '5.7') {
plan skip_all => 'Use SQL_DELAY';
}
if ( !$dbh ) {
plan skip_all => 'Cannot connect to MySQL slave.';
}

View File

@@ -20,6 +20,10 @@ my $sb = new Sandbox(basedir => '/tmp', DSNParser => $dp);
my $master_dbh = $sb->get_dbh_for('master');
my $slave_dbh = $sb->get_dbh_for('slave1');
if ($sandbox_version ge '5.7') {
plan skip_all => 'Use SQL_DELAY';
}
if ( !$master_dbh ) {
plan skip_all => 'Cannot connect to sandbox master';
}