Flutter-Bounty-Hunters / follow_the_leader

MIT License
13 stars 5 forks source link

Golden tests are failing on Linux due to dirty paint state #41

Closed matthew-carroll closed 12 months ago

matthew-carroll commented 12 months ago

When running golden tests on Linux, sometimes a Follower has a dirty paint state after pumpAndSettle(), i.e., needsPaint is true.

This only seems to happen on Linux, and the situation only seems to come up during golden tests.

We were unable to find a meaningful root cause. Therefore, when we see that we're running on Linux in a test, we'll schedule an extra frame every time we markNeedsPaint().