Skip to content

[flutter_tools] retry chrome launch up to 3 times - #85162

Merged
fluttergithubbot merged 2 commits into
flutter:masterfrom
jonahwilliams:redo_chrome_launch
Jun 24, 2021
Merged

fluttergithubbot merged 2 commits into
flutter:masterfrom
jonahwilliams:redo_chrome_launch

Conversation

@jonahwilliams

@jonahwilliams jonahwilliams commented Jun 23, 2021 •

Copy link
Copy Markdown
Contributor

Instead of only retrying chrome launch on the glibc bug, just retry up to 3 times to see if it can pass

Fixes #83899

@flutter-dashboard flutter-dashboard Bot added the tool Affects the "flutter" command-line tool. See also t: labels. label Jun 23, 2021
@google-cla google-cla Bot added the cla: yes label Jun 23, 2021

@zanderso zanderso left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does this help with any particular issue that we have filed?

'Chrome or Edge. Otherwise, consider using -d web-server instead '
'and filing an issue at https://github.com/flutter/flutter/issues.',
);
if (retry >= 3) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Pull 3 up out of the loop to a named constant. kMaxRetries

@jonahwilliams

Copy link
Copy Markdown
Contributor Author

the issue is around here somewhere...

@jonahwilliams
jonahwilliams requested a review from zanderso June 24, 2021 00:20
@fluttergithubbot

Copy link
Copy Markdown
Contributor

This pull request is not suitable for automatic merging in its current state.

  • The status or check suite luci-flutter has failed. Please fix the issues identified (or deflake) before re-applying this label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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.

Retry chrome launch on debug connection failure

3 participants