Skip to content

Conversation

@gspencergoog
Copy link
Contributor

@gspencergoog gspencergoog commented Jun 23, 2021

Description

This turns on order shuffling for all tests that don't fail with it on, marking those tests that do fail with a tag so that they will be run without shuffling on.

To determine which tests fail with it on, I ran all the tests 100 times with different random shuffle seeds, and then also ran it with the date seeds from today until the end of July, and tagged all of the test suites (files) that fail, with a seed that caused them to fail.

Related Issues

Tests

  • Many tests marked as "not shuffleable" by applying the no-shuffle tag.

@flutter-dashboard flutter-dashboard bot added f: cupertino flutter/packages/flutter/cupertino repository f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. c: contributor-productivity Team-specific productivity, code health, technical debt. labels Jun 23, 2021
@google-cla google-cla bot added the cla: yes label Jun 23, 2021
@gspencergoog gspencergoog force-pushed the randomize_tests branch 2 times, most recently from d493f92 to fd19a4b Compare June 23, 2021 21:15
@gspencergoog gspencergoog force-pushed the randomize_tests branch 8 times, most recently from f443cc6 to 9fcfda3 Compare June 24, 2021 17:18
@gspencergoog gspencergoog marked this pull request as ready for review June 24, 2021 19:58
@gspencergoog gspencergoog force-pushed the randomize_tests branch 3 times, most recently from 22b6075 to 0dab346 Compare June 24, 2021 21:50
Copy link
Contributor

@darrenaustin darrenaustin left a comment

Choose a reason for hiding this comment

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

Nice work. A few questions below.

Copy link
Contributor

@darrenaustin darrenaustin left a comment

Choose a reason for hiding this comment

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

LGTM.

@gspencergoog gspencergoog force-pushed the randomize_tests branch 2 times, most recently from 99e229d to 2556a4f Compare June 29, 2021 17:14
@gspencergoog gspencergoog merged commit b5f9612 into flutter:master Jun 29, 2021
@gspencergoog gspencergoog deleted the randomize_tests branch June 29, 2021 20:46
gspencergoog added a commit to gspencergoog/flutter that referenced this pull request Jul 1, 2021
…fail. (flutter#85159)"

This reverts commit b5f9612 because it is taking about 40% longer to run the tests, which is causing timeouts.
gspencergoog added a commit that referenced this pull request Jul 1, 2021
…fail. (#85159)" (#85673)

This reverts commit b5f9612 because it is taking about 40% longer to run the tests, which is causing timeouts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c: contributor-productivity Team-specific productivity, code health, technical debt. f: cupertino flutter/packages/flutter/cupertino repository f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants