Commit 8309622f authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: global caching seems to pollute the namespace during the execution of workers

parent 85a74ff6
......@@ -92,6 +92,8 @@ sub init_pipeline {
my $hive_dba;
local @ARGV = @$options;
local %Bio::EnsEMBL::Hive::Cacheable::cache_by_class;
lives_ok(sub {
$hive_dba = Bio::EnsEMBL::Hive::Scripts::InitPipeline::init_pipeline($file_or_module);
ok($hive_dba, 'pipeline initialized');
Markdown is supported
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