Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
E
ensembl-hive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Jira
Jira
Merge Requests
7
Merge Requests
7
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
05c99e4c
Commit
05c99e4c
authored
Jan 06, 2020
by
Brandon Walts
Committed by
ens-bwalts
Jan 06, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[
ENSCORESW-3350
] update expected output in lsf.t to conform to Meadow/LSF.pm date guessing in 2020
parent
68ee32fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
t/04.meadow/lsf.t
t/04.meadow/lsf.t
+5
-5
No files found.
t/04.meadow/lsf.t
View file @
05c99e4c
...
...
@@ -149,7 +149,7 @@ lives_ok( sub {
my
$expected_bacct
=
{
'
2581807[1]
'
=>
{
'
died
'
=>
'
20
15
-11-26 14:25:12
',
'
died
'
=>
'
20
20
-11-26 14:25:12
',
'
pending_sec
'
=>
'
147
',
'
exception_status
'
=>
'
underrun
',
'
cause_of_death
'
=>
undef
,
...
...
@@ -160,7 +160,7 @@ my $expected_bacct = {
'
swap_megs
'
=>
144
},
'
2581801[48]
'
=>
{
'
died
'
=>
'
20
15
-11-26 14:25:16
',
'
died
'
=>
'
20
20
-11-26 14:25:16
',
'
pending_sec
'
=>
'
196
',
'
exception_status
'
=>
'
underrun
',
'
mem_megs
'
=>
50
,
...
...
@@ -176,7 +176,7 @@ my $expected_bacct = {
'
pending_sec
'
=>
'
2
',
'
exception_status
'
=>
'
underrun
',
'
swap_megs
'
=>
218
,
'
died
'
=>
'
20
15
-12-02 13:53:29
',
'
died
'
=>
'
20
20
-12-02 13:53:29
',
'
cause_of_death
'
=>
'
MEMLIMIT
',
'
exit_status
'
=>
'
exit/TERM_MEMLIMIT
',
'
mem_megs
'
=>
102
...
...
@@ -191,8 +191,8 @@ lives_and( sub {
},
'
Can call bacct on process_ids
');
lives_and
(
sub
{
local
$ENV
{
EHIVE_EXPECTED_BACCT
}
=
'
-l -C 20
15/10/11/12:23,2015
/12/12/23:58 -u kb3
';
my
$h
=
$lsf_meadow
->
get_report_entries_for_time_interval
('
20
15-10-11 12:23:45
',
'
2015
-12-12 23:56:59
',
'
kb3
');
local
$ENV
{
EHIVE_EXPECTED_BACCT
}
=
'
-l -C 20
20/10/11/12:23,2020
/12/12/23:58 -u kb3
';
my
$h
=
$lsf_meadow
->
get_report_entries_for_time_interval
('
20
20-10-11 12:23:45
',
'
2020
-12-12 23:56:59
',
'
kb3
');
is_deeply
(
$h
,
$expected_bacct
,
'
Got bacct output
');
},
'
Can call bacct on a date range
');
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment