From c1795c7dc3ae025a2579fd605b22e77780824943 Mon Sep 17 00:00:00 2001 From: German Khokhlov Date: Wed, 11 Nov 2026 01:51:34 +0400 Subject: [PATCH] Sample the released-tileset check over open ocean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Under the camera and at 20°E 10°N other contract checks leave meshes and models; Cesium's scene sample hits them, so the check failed in the full suite and passed alone. It now samples two places none of them draws at. --- src/globe/testing/contractSuite/maps.mjs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/globe/testing/contractSuite/maps.mjs b/src/globe/testing/contractSuite/maps.mjs index 402daedc6..6dca2f94f 100644 --- a/src/globe/testing/contractSuite/maps.mjs +++ b/src/globe/testing/contractSuite/maps.mjs @@ -17,10 +17,12 @@ export function photorealChecks(engine, { settle }) { [ 'surface.sampleHeightDetailed: leaving photoreal no longer reports tiles', async () => { + // Open ocean, away from anything the other checks draw: on Cesium a + // leftover mesh there would answer the sample too. const places = [ - cartographic.fromCartesian(engine.camera.pose().position), - cartographic.fromDegrees(20, 10), - ].filter(Boolean); + cartographic.fromDegrees(-150, -55), + cartographic.fromDegrees(-30, -45), + ]; await engine.maps.setPhotorealTiles(null); await settle(); // Cesium labels every scene hit, the globe included, as tiles; what