Closed craig-willis closed 3 years ago
Merging #485 (cc21756) into master (2093b96) will increase coverage by
0.36%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #485 +/- ##
==========================================
+ Coverage 92.74% 93.11% +0.36%
==========================================
Files 52 52
Lines 3930 3948 +18
==========================================
+ Hits 3645 3676 +31
+ Misses 285 272 -13
Impacted Files | Coverage Δ | |
---|---|---|
server/__init__.py | 93.01% <100.00%> (+0.02%) |
:arrow_up: |
server/models/image.py | 91.30% <100.00%> (+4.94%) |
:arrow_up: |
server/models/instance.py | 86.41% <100.00%> (+1.18%) |
:arrow_up: |
server/rest/image.py | 97.36% <100.00%> (+14.93%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 2093b96...cc21756. Read the comment docs.
It's missing the REST component (ability to add idleTimeout when creating Image via POST, or updating it via PUT). As such the change in #49 setting idleTimeout to 120m is basically noop. Otherwise LGTM!
Thanks for catching that. I think I've addressed it.
Fixes https://github.com/whole-tale/girder_wholetale/issues/477#
Test case
wholetale/girder:heartbeat
image based on that PR~girder-shell
, temporarily set theidleTimeout
on the JupyterLab image to 1 minutefrom girder.plugins.wholetale.models.image import Image image = Image().findOne({"name": "JupyterLab"}) image["idleTimeout"] = 1 Image().save(image)