Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
datascience
balsamDEPRECATED
Commits
2935d53a
Commit
2935d53a
authored
Jan 11, 2018
by
Michael Salim
Browse files
upped timeout for tests on theta
parent
d090ce11
Changes
2
Hide whitespace changes
Inline
Side-by-side
balsam/launcher/runners.py
View file @
2935d53a
...
...
@@ -252,7 +252,8 @@ class MPIEnsembleRunner(Runner):
job
.
update_state
(
state
,
msg
)
# TODO: handle RecordModified exception
logger
.
info
(
f
"MPIEnsemble
{
job
.
cute_id
}
updated to
{
state
}
:
{
msg
}
"
)
except
(
ValueError
,
KeyError
,
InvalidStateError
)
as
e
:
logger
.
error
(
f
"Invalid statusMsg from mpi_ensemble:
{
line
.
strip
()
}
"
)
if
'resources: utime'
not
in
line
:
logger
.
error
(
f
"Invalid statusMsg from mpi_ensemble:
{
line
.
strip
()
}
"
)
retcode
=
None
if
timeout
:
...
...
tests/test_functional.py
View file @
2935d53a
...
...
@@ -597,7 +597,7 @@ class TestDAG(BalsamTestCase):
def
check
():
return
all
(
j
.
state
==
'JOB_FINISHED'
for
j
in
BalsamJob
.
objects
.
all
())
success
=
run_launcher_until
(
check
)
success
=
run_launcher_until
(
check
,
timeout
=
120
)
self
.
assertTrue
(
success
)
parent
.
refresh_from_db
()
...
...
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