Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@chinmaygarde
Copy link
Member

Fixes flutter/flutter#109333

The fixture just continues to push frames indefinitely. The old test
was depending on racily checking if a certain number of frames were
pushed.

Fixes flutter/flutter#109333

The fixture just continues to push frames indefinitely. The old test
was depending on racily checking if a certain number of frames were
pushed.
@flutter-dashboard flutter-dashboard bot added the embedder Related to the embedder API label Aug 15, 2022
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

@chinmaygarde
Copy link
Member Author

I don't get why the bot is mad. I literally only just edited a file with a unit-test 🤷🏽 .

Copy link
Member

@jason-simmons jason-simmons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Although the ASSERT_GE is redundant. If frames_seen is less than frames_expected, then the test will still be waiting on the countdown latch and will not reach the assert.

@chinmaygarde chinmaygarde added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 15, 2022
@auto-submit auto-submit bot merged commit 90477c2 into flutter:main Aug 15, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 15, 2022
@chinmaygarde chinmaygarde deleted the fixrace branch August 15, 2022 23:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App embedder Related to the embedder API needs tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mac Host Engine flakes on EmbedderTest

2 participants