Separate rendering part from specification part for sources#8821
Conversation
ea21dfd to
b2dcad0
Compare
|
|
|
@ivovandongen Can you see why this test might be failing on CI? There's no diagnostics in the CI log, and I've run it many times locally without failure. |
|
@frederoni Had a look and noticed that there seems to be a problem on the CI writing the crash log: No idea yet what the issue is. However, since both tests are failing, it might be in the setup. Maybe reading the json file? Going to add some logging to debug. |
4b82534 to
7142fa4
Compare
|
@frederoni reproduced this locally, with the following output: |
f064d3f to
c25f97f
Compare
Once Source and RendererSource are split, Source will no longer have access to tiles.
This reverses #3095. Rationale: * We're now exposing source attributes as a public API. Making those attributes unavailable at certain times complicates that API. * We're preparing to split RenderSource out of Source. Removing this removes a point of coupling between the two.
|
I figured out the test failures -- they were caused by the middle commit ("Load source TileJSON immediately"). The tests relied on source TileJSON not being loaded, because they supplied a fake access token. In addition, they were testing a situation that that change eliminates. So I rewrote them to test querying a detached source instead. |
Refs #8797, #8820