Skip to content

Fixed leak and removed no-shuffle tag in scheduler_test.dart - #88423

Merged
gspencergoog merged 1 commit into
flutter:masterfrom
Swiftaxe:85160_scheduler_test
Aug 23, 2021
Merged

gspencergoog merged 1 commit into
flutter:masterfrom
Swiftaxe:85160_scheduler_test

Conversation

@Swiftaxe

Copy link
Copy Markdown
Contributor

This PR fixed the problem that has prevented scheduler_test.dart being shuffled. Part of #85160.

One test schedules a task, but events are locked so the scheduled task does not execute and this messes up other tests.
This PR adds a teardown that executes the scheduled task after the test, when events are unlocked.

Pre-launch Checklist

  • I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
  • I signed the [CLA].
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test-exempt.
  • All existing and new tests are passing.

@flutter-dashboard flutter-dashboard Bot added the framework flutter/packages/flutter repository. See also f: labels. label Aug 18, 2021
@google-cla

google-cla Bot commented Aug 18, 2021

Copy link
Copy Markdown

All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter.

We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only @googlebot I consent. in this pull request.

Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the cla label to yes (if enabled on your project).

ℹ️ Googlers: Go here for more info.

@google-cla google-cla Bot added the cla: no label Aug 18, 2021
@SigmaAD

SigmaAD commented Aug 18, 2021

Copy link
Copy Markdown

@googlebot I consent.

@google-cla google-cla Bot added cla: yes and removed cla: no labels Aug 18, 2021
@Swiftaxe
Swiftaxe marked this pull request as ready for review August 18, 2021 11:06
@gspencergoog
gspencergoog self-requested a review August 23, 2021 16:55

@gspencergoog gspencergoog 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.

32384589-a60f0e74-c078-11e7-9bc1-e5b5287aea9d

@gspencergoog
gspencergoog merged commit 83b9e99 into flutter:master Aug 23, 2021
@Swiftaxe
Swiftaxe deleted the 85160_scheduler_test branch August 26, 2021 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants