Skip to content

Conversation

@Hixie
Copy link
Contributor

@Hixie Hixie commented May 30, 2018

No description provided.

@Hixie
Copy link
Contributor Author

Hixie commented May 31, 2018

cc @tvolkert

Copy link
Contributor

@tvolkert tvolkert May 31, 2018

Choose a reason for hiding this comment

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

Nit: 2018

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's a derivative work of a 2017 test.

Copy link
Contributor

Choose a reason for hiding this comment

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

'Failed to run test app; runner exited with exit code $runExitCode.'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

added

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 timeout in case the tool is failing to properly quit

Copy link
Contributor Author

Choose a reason for hiding this comment

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

IIRC all devicelab tests have a built-in timeout.

Copy link
Contributor

Choose a reason for hiding this comment

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

Let's add proper Dartdoc to this method instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

Choose a reason for hiding this comment

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

Why flaky?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

file says to always add tests with flaky:true initially, to test it on devicelab as a dry run before exposing everyone else to the test.

Copy link
Contributor

Choose a reason for hiding this comment

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

Seems like it'd be good to have this on iOS too

Copy link
Contributor

Choose a reason for hiding this comment

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

Though the test is pretty Android-centric in its expectations of the output...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah. Let's start with an Android test and add the iOS test separately if it makes sense.

Copy link
Contributor

Choose a reason for hiding this comment

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

The indentation of the comments looks weird here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's lined up with the the expression to which they refer

Copy link
Contributor

Choose a reason for hiding this comment

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

Should this not consult the return value of printHelpDetails()?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh I meant to remove the return value. Turns out to do it strictly correct you'd need to be able to get the return value without calling it (or we could change it to have it return a string or list of strings instead of printing), and in practice it doesn't really matter that much since we can predict how it will react in the cases that matter.

@Hixie Hixie changed the title Clean up output of "flutter run --release" [W] Clean up output of "flutter run --release" Jun 1, 2018
@Hixie
Copy link
Contributor Author

Hixie commented Jun 2, 2018

I accidentally ended up cleaning up flutter --help as well while I was at it.

@tvolkert PTAL.

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

@Hixie
Copy link
Contributor Author

Hixie commented Jun 4, 2018

will land on green.

@Hixie Hixie merged commit 4f1b660 into flutter:master Jun 4, 2018
@Hixie Hixie deleted the release-ui branch June 4, 2018 22:22
@Hixie
Copy link
Contributor Author

Hixie commented Jun 4, 2018

Going to revert, had two failures.

Hixie added a commit that referenced this pull request Jun 4, 2018
Hixie added a commit that referenced this pull request Jun 4, 2018
@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