Skip to content

[flutter_tools] don't fix chrome window size, add more logs#51346

Merged
jonahwilliams merged 2 commits intoflutter:masterfrom
jonahwilliams:more_chrome_logs
Feb 24, 2020
Merged

[flutter_tools] don't fix chrome window size, add more logs#51346
jonahwilliams merged 2 commits intoflutter:masterfrom
jonahwilliams:more_chrome_logs

Conversation

@jonahwilliams
Copy link
Copy Markdown
Contributor

Description

The addition of the window size param causes flutter run -d chrome to always launch in a large size. Also adds some extra logging to help debug the start failures.

@fluttergithubbot fluttergithubbot added the tool Affects the "flutter" command-line tool. See also t: labels. label Feb 24, 2020
.firstWhere((String line) => line.startsWith('DevTools listening'), orElse: () {
return 'Failed to spawn stderr';
})
.timeout(const Duration(seconds: 60), onTimeout: () {
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.

Aren't we avoiding timeouts in our system?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

why not

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.

I guess if it takes between 50 and 70 seconds it could make tests flaky?

@jonahwilliams jonahwilliams merged commit 3411129 into flutter:master Feb 24, 2020
@jonahwilliams jonahwilliams deleted the more_chrome_logs branch February 24, 2020 23:59
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Aug 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants