Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
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
[
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 {
...
@@ -149,7 +149,7 @@ lives_ok( sub {
my
$expected_bacct
=
{
my
$expected_bacct
=
{
'
2581807[1]
'
=>
{
'
2581807[1]
'
=>
{
'
died
'
=>
'
20
15
-11-26 14:25:12
',
'
died
'
=>
'
20
20
-11-26 14:25:12
',
'
pending_sec
'
=>
'
147
',
'
pending_sec
'
=>
'
147
',
'
exception_status
'
=>
'
underrun
',
'
exception_status
'
=>
'
underrun
',
'
cause_of_death
'
=>
undef
,
'
cause_of_death
'
=>
undef
,
...
@@ -160,7 +160,7 @@ my $expected_bacct = {
...
@@ -160,7 +160,7 @@ my $expected_bacct = {
'
swap_megs
'
=>
144
'
swap_megs
'
=>
144
},
},
'
2581801[48]
'
=>
{
'
2581801[48]
'
=>
{
'
died
'
=>
'
20
15
-11-26 14:25:16
',
'
died
'
=>
'
20
20
-11-26 14:25:16
',
'
pending_sec
'
=>
'
196
',
'
pending_sec
'
=>
'
196
',
'
exception_status
'
=>
'
underrun
',
'
exception_status
'
=>
'
underrun
',
'
mem_megs
'
=>
50
,
'
mem_megs
'
=>
50
,
...
@@ -176,7 +176,7 @@ my $expected_bacct = {
...
@@ -176,7 +176,7 @@ my $expected_bacct = {
'
pending_sec
'
=>
'
2
',
'
pending_sec
'
=>
'
2
',
'
exception_status
'
=>
'
underrun
',
'
exception_status
'
=>
'
underrun
',
'
swap_megs
'
=>
218
,
'
swap_megs
'
=>
218
,
'
died
'
=>
'
20
15
-12-02 13:53:29
',
'
died
'
=>
'
20
20
-12-02 13:53:29
',
'
cause_of_death
'
=>
'
MEMLIMIT
',
'
cause_of_death
'
=>
'
MEMLIMIT
',
'
exit_status
'
=>
'
exit/TERM_MEMLIMIT
',
'
exit_status
'
=>
'
exit/TERM_MEMLIMIT
',
'
mem_megs
'
=>
102
'
mem_megs
'
=>
102
...
@@ -191,8 +191,8 @@ lives_and( sub {
...
@@ -191,8 +191,8 @@ lives_and( sub {
},
'
Can call bacct on process_ids
');
},
'
Can call bacct on process_ids
');
lives_and
(
sub
{
lives_and
(
sub
{
local
$ENV
{
EHIVE_EXPECTED_BACCT
}
=
'
-l -C 20
15
/10/11/12:23,20
15
/12/12/23:58 -u kb3
';
local
$ENV
{
EHIVE_EXPECTED_BACCT
}
=
'
-l -C 20
20
/10/11/12:23,20
20
/12/12/23:58 -u kb3
';
my
$h
=
$lsf_meadow
->
get_report_entries_for_time_interval
('
20
15
-10-11 12:23:45
',
'
20
15
-12-12 23:56:59
',
'
kb3
');
my
$h
=
$lsf_meadow
->
get_report_entries_for_time_interval
('
20
20
-10-11 12:23:45
',
'
20
20
-12-12 23:56:59
',
'
kb3
');
is_deeply
(
$h
,
$expected_bacct
,
'
Got bacct output
');
is_deeply
(
$h
,
$expected_bacct
,
'
Got bacct output
');
},
'
Can call bacct on a date range
');
},
'
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