You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 2, 2023. It is now read-only.
Fix unstable tests related to relayoutAllNodes in ASTableViewTests
- After constrained sizes of nodes were changed (for example because the table view width was changed) and before relayoutAllNodes operation will be executed, if there is any measuring tasks being executed in background, the new sizes will be used immediately. Therefore, by the time relayoutAllNodes is performed, some nodes already have up-to-date layouts and don't need to remeasure (on main).
- As a result, after relayoutAllNodes is completed, the maximum number of layout pass performed on main thread for each node is between 0 and 1. ASTableViewTests is updated to assert this behaviour.
0 commit comments