Skip to content

Conversation

@Hixie
Copy link
Contributor

@Hixie Hixie commented Jun 7, 2018

This should reduce the number of flakes without actually increasing
the timeout, so we'll still find out quickly if a test is hanging.

The numbers here might need tweaking. Maybe the default two seconds is
too short for CI bots.

cc @tvolkert

Copy link
Contributor

Choose a reason for hiding this comment

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

The advantage of putting them in brackets is that although dartdoc won't hyperlink them, IDEs see it as a reference to the argument, and refactoring tools will automatically rename these references.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we need a way to distinguish them. The square brackets will suddenly start hyperlinking if something called "callback" is added to the scope, otherwise.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

This won't cause the test to fail, right? Can we add a test to verify that home-growth timeout logic will correctly cause a slow test to fail?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

haha i was waiting for you to ask for a test... Ok I'll try to figure out how to write one.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

well this is wrong. oops.

@Hixie Hixie force-pushed the flake branch 2 times, most recently from 6e42f75 to 3c2b06e Compare June 11, 2018 20:41
@Hixie
Copy link
Contributor Author

Hixie commented Jun 11, 2018

@tvolkert PTAL. I've added some smoke tests for this. I've also made the bulk of the smoke tests run in parallel to save some time. (I left the control pass and control fail tests out of the parallelism since those are particularly critical and so if they fail I want them to fail first.)

@tvolkert
Copy link
Contributor

Analyzing 3 directories...
   info • Specify type annotations • dev/bots/test.dart:152:5
   info • Prefer final for variable declaration if reference is not reassigned • dev/bots/test.dart:392:12
   info • Avoid slow async `dart:io` methods • dev/bots/test.dart:393:16

Copy link
Contributor

Choose a reason for hiding this comment

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

Add a comment about how the main pass and fail tests get special priority but that all other smoke tests belong in the parallel block below.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed.

@Hixie Hixie force-pushed the flake branch 2 times, most recently from e2f3bb6 to 26fb274 Compare June 11, 2018 21:05
@Hixie
Copy link
Contributor Author

Hixie commented Jun 11, 2018

Windows failed... I wonder if it's because making things parallel overloaded the bot.

Copy link
Contributor

@tvolkert tvolkert left a comment

Choose a reason for hiding this comment

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

LGTM, modulo Windows bot failure

This should reduce the number of flakes without actually increasing
the timeout, so we'll still find out quickly if a test is hanging.

The numbers here might need tweaking. Maybe the default two seconds is
too short for CI bots.
@Hixie Hixie merged commit dac2ebf into flutter:master Jun 11, 2018
@Hixie Hixie deleted the flake branch June 11, 2018 23:28
dnfield added a commit to dnfield/flutter that referenced this pull request Jun 12, 2018
Update engine.version

update tests for TextStyle changes in engine (flutter#17982)

* update tests for TextStyle changes in engine

* roll engine, support Foreground on TextStyle

* Support for saving Dart compilation trace on device

(WIP) Expose foreground in framework TextStyle

use identical instead of ==

Add @istest annotation to testGesture (flutter#18311)

Notifies IDEs this is a test method, and helps e.g. the flutter plugin
recognize test methods and display them in the structure view in intellij.

Update gallery assets version with optipng (flutter#18327)

Passing any to named params require the name of the parameter itself. (flutter#18361)

Update typedef syntax to use Function notation and turn on lint for old notation. (flutter#18362)

Now that Dart 1 is turned off, reapplying my change to turn on the prefer_generic_function_type_aliases analysis option, and fix all the typedefs to Dart 2 preferred syntax.

Also eliminated the unused analysis_options_repo.yaml file and turned on public_member_api_docs in analysys_options.yaml.

No logic changes, just changing the typedef syntax for all typedefs, and updating analysis options.

More flexible timeout logic in flutter_test (flutter#18256)

This should reduce the number of flakes without actually increasing
the timeout, so we'll still find out quickly if a test is hanging.

The numbers here might need tweaking. Maybe the default two seconds is
too short for CI bots.

merge/apply/lerp prefer foreground

doc updates and update for copyWith
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants