-
Notifications
You must be signed in to change notification settings - Fork 19
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
Update staging monitor tests #805
Conversation
Used current staging directories structure. Used run Illumina's native run folder names. Stopped using HiSeq-specific run folder files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typos and some suggestions.
t/34-monitor-runfolder-staging.t
Outdated
$test = Monitor::RunFolder::Staging->new( runfolder_path => '/export/sf25/ILorHSany_sf25/incoming/110712_HS8_06541_B_B0A6DABXX'); | ||
is($test->_get_folder_path_glob, '/{export,nfs}/sf25/ILorHSany_sf25/*/', 'glob for /export/sf25 incoming'); | ||
} | ||
subtest 'seting file system permissions' => sub { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
subtest 'seting file system permissions' => sub { | |
subtest 'setting file system permissions' => sub { |
t/34-monitor-runfolder-staging.t
Outdated
for my $dir (qw/incoming analysis outgoing/) { | ||
my $rfpath = $path; | ||
$rfpath =~ s/outgoing/$dir/; | ||
note $rfpath; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note $rfpath; | |
note 'Testing ' . $rfpath; |
t/34-monitor-runfolder-staging.t
Outdated
|
||
for my $file_name (qw[CopyComplete Copycomplete | ||
copycomplete CopyComplete_old.txt ]) { | ||
note $file_name; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note $file_name; | |
note 'Testing ' . $file_name; |
@@ -99,42 +96,39 @@ subtest 'updating run data from filesystem' => sub { | |||
expected_cycle_count => 310, | |||
actual_cycle_count => 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to make sure we have setup thing for following tests and rely less on the yml fixture loading
actual_cycle_count => 0, | |
actual_cycle_count => 0, | |
folder_name => undef, | |
folder_path_glob => undef, |
t/34-monitor-runfolder.t
Outdated
open my $fh2, '>', join(q[/], $rf, 'runParameters.xml'); | ||
print $fh2 $run_parameters; | ||
close $fh2; | ||
|
||
# Creade 8 lane records in the database |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# Creade 8 lane records in the database | |
# Create 8 lane records in the database |
and remove old test data