Skip to content

Always flush files when setting up the test directory. - #122856

Merged
auto-submit[bot] merged 2 commits into
flutter:masterfrom
eyebrowsoffire:integration_tests_flush_files
Mar 17, 2023
Merged

auto-submit[bot] merged 2 commits into
flutter:masterfrom
eyebrowsoffire:integration_tests_flush_files

Conversation

@eyebrowsoffire

@eyebrowsoffire eyebrowsoffire commented Mar 17, 2023 •

Copy link
Copy Markdown
Contributor

We flush these test files when writing strings. We should do the same for files we are writing as bytes.

@flutter-dashboard flutter-dashboard Bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Mar 17, 2023
@flutter-dashboard

Copy link
Copy Markdown

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.

@Hixie

Hixie commented Mar 17, 2023

Copy link
Copy Markdown
Contributor

test-exempt: is tests

@christopherfujino

Copy link
Copy Markdown
Contributor

Looks also like a bug in the test bot, I'll follow up with that.

@christopherfujino christopherfujino left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@eyebrowsoffire eyebrowsoffire added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 17, 2023
@auto-submit
auto-submit Bot merged commit a88eb17 into flutter:master Mar 17, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request Mar 18, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 10, 2023
engine-flutter-autoroll added a commit to engine-flutter-autoroll/packages that referenced this pull request May 10, 2023
@eyebrowsoffire
eyebrowsoffire deleted the integration_tests_flush_files branch December 12, 2025 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants