Closed Xarthisius closed 3 years ago
Merging #491 (a62fb9f) into master (65e8639) will increase coverage by
0.00%
. The diff coverage is100.00%
.
@@ Coverage Diff @@
## master #491 +/- ##
=======================================
Coverage 93.17% 93.18%
=======================================
Files 52 52
Lines 3958 3960 +2
=======================================
+ Hits 3688 3690 +2
Misses 270 270
Impacted Files | Coverage Δ | |
---|---|---|
server/models/instance.py | 86.58% <100.00%> (+0.16%) |
: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 65e8639...a62fb9f. Read the comment docs.
Problem
It takes 30s for instances run on a deployments with FQDN to be accessible, which happens to correspond to the timeout of
_wait_for_server
. What we're doing is roughly:containerInfo.name
(for 30s)containerInfo.name
on instance (oops we need it in 2.)Approach
It's possible to frontload the operation of setting necessary info on the instance object, before we start hitting
authorize
endpointHow to test?
info.log
. Prior to this change you should see:afterwards there should be no messages with 403 error.
NOTE: I was patching it live on .stage, so prolly best to restart girder container.