Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
File Transfer Service
fts-rest
Commits
39df9d8c
Commit
39df9d8c
authored
Dec 01, 2016
by
Alejandro Alvarez Ayllon
Browse files
Make sure we set copy_pin_lifetime & bring_online
parent
8d304c05
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/fts3rest/fts3rest/tests/functional/test_job_submission.py
View file @
39df9d8c
...
...
@@ -359,6 +359,8 @@ class TestJobSubmission(TestController):
db_job
=
Session
.
query
(
Job
).
get
(
job_id
)
self
.
assertEqual
(
db_job
.
job_state
,
'STAGING'
)
self
.
assertEqual
(
db_job
.
files
[
0
].
file_state
,
'STAGING'
)
self
.
assertEqual
(
db_job
.
copy_pin_lifetime
,
3600
)
self
.
assertEqual
(
db_job
.
bring_online
,
60
)
return
job_id
...
...
Write
Preview
Supports
Markdown
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