Skip to content
Snippets Groups Projects
Commit 9ee670ce authored by Graham McVicker's avatar Graham McVicker
Browse files

updated test for slightly modified magic disconnection logic

parent 4c845984
No related branches found
No related tags found
No related merge requests found
......@@ -85,14 +85,16 @@ ok($adaptor == $dbc->_get_adaptor($adaptor_name)); #verify cache is used
#
ok(test_getter_setter($dbc, 'db_handle', $db->db_handle));
#
# 11 prepare
#
my $sth = $dbc->prepare('SELECT * from gene limit 1');
$sth->execute;
ok($sth->rows);
$sth->finish;
{
#
# 11 prepare
#
my $sth = $dbc->prepare('SELECT * from gene limit 1');
$sth->execute;
ok($sth->rows);
$sth->finish;
}
#
# 12 add_db_adaptor
#
......@@ -116,7 +118,6 @@ ok(!defined $dbc->get_db_adaptor('core'));
ok(!defined $dbc->get_all_db_adaptors->{'core'});
#
# try the database with the disconnect_when_inactive flag set.
# this should automatically disconnect from the db
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment