Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: missing schema param in inferred id run test #478

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions t/lib/WTSI/NPG/HTS/Illumina/LogPublisherTest.pm
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,16 @@ sub publish_logs : Test(12) {
# test the RunPublisher
my $runfolder_path2 =
"t/data/illumina/sequence/150910_HS40_17550_A_C75BCANXX";

# The tracking database handle must be specified, otherwise when
# the tracking schema file exists in .npg folder it tries to retrieve
# the db credentials from it and connect to the database defined there.
# By setting it to 'undef', the code avoids the database route.
my $pub2 = WTSI::NPG::HTS::Illumina::LogPublisher->new
(irods => $irods,
runfolder_path => $runfolder_path2,
dest_collection => "$irods_tmp_coll/publish_logs_inferred_id_run");
(irods => $irods,
runfolder_path => $runfolder_path2,
npg_tracking_schema => undef,
dest_collection => "$irods_tmp_coll/publish_logs_inferred_id_run");

my $log_archive2 = $pub2->publish_logs;
ok($log_archive2, 'Log archive created given a runfolder path');
Expand Down
Loading