Skip to content

Commit f426a68

Browse files
author
Hannah
committed
Merge pull request #3654 from AnalyticalGraphicsInc/test-fix
Fix GlobeSurfaceTileProvider test
2 parents d4cc443 + e352cbb commit f426a68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Specs/Scene/GlobeSurfaceTileProviderSpec.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,9 @@ defineSuite([
401401
frameState.camera.setView({ destination : new Rectangle(0.0000001, 0.0000001, 0.0000025, 0.0000025) });
402402

403403
return pollToPromise(function() {
404+
globe.beginFrame(frameState);
404405
globe.update(frameState);
406+
globe.endFrame(frameState);
405407
return globe._surface.tileProvider.ready && !defined(globe._surface._tileLoadQueue.head) && globe._surface._debug.tilesWaitingForChildren === 0 && globe._surface._debug.maxDepth >= 11;
406408
}).then(function() {
407409
expect(render(frameState, globe)).toBeGreaterThan(0);

0 commit comments

Comments
 (0)