From ab16b00927cbcd45558100dc0b101430da9dc02d Mon Sep 17 00:00:00 2001 From: Andrew Yates <ayates@ebi.ac.uk> Date: Fri, 27 Jul 2012 14:16:42 +0000 Subject: [PATCH] [ENSCORESW-214]. Supporting the norestore pahse --- modules/t/dbEntries.t | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/t/dbEntries.t b/modules/t/dbEntries.t index b17e945e0d..ccfb6b75e4 100644 --- a/modules/t/dbEntries.t +++ b/modules/t/dbEntries.t @@ -200,13 +200,17 @@ $xref = Bio::EnsEMBL::DBEntry->new { local $ENV{RUNTESTS_HARNESS} = 1; + local $ENV{RUNTESTS_HARNESS_NORESTORE} = 1; # db connection must be severed for threads to access DB $dbEntryAdaptor->dbc->disconnect_if_idle(); + $multi->get('empty'); # seem to have to do this to stop thread whinging under some perls use threads; my $parallel_store = sub{ my $xref_id = $dbEntryAdaptor->store( $xref, $tr->dbID, "Transcript" ); + note $dbEntryAdaptor->dbc(); + note explain $multi->{conf}; return $xref_id }; -- GitLab