Skip to content

Conversation

@barnjamin
Copy link
Contributor

@barnjamin barnjamin commented Jun 7, 2022

No description provided.

@barnjamin barnjamin requested a review from algochoi June 7, 2022 17:22
@barnjamin barnjamin force-pushed the get-method-by-name branch from 028a4ae to 824c750 Compare June 13, 2022 13:04
Copy link
Contributor

@algochoi algochoi left a comment

Choose a reason for hiding this comment

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

Minor comment while we wait for firefox tests

@barnjamin barnjamin force-pushed the get-method-by-name branch from e8c285f to a80f3a3 Compare June 14, 2022 12:24
@barnjamin barnjamin requested a review from algochoi June 16, 2022 20:56
Comment on lines +39 to +40
.setPreference('remote.active-protocols', 1) // Sets protocol to only WebDriver BiDi
.setPreference('network.http.network-changed.timeout', 30) // In Docker tests this apparently matters
Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting, I'd expect setting remote.active-protocols to 2 (CDP) to be the solution here, since in Firefox 101 they changed the default from 2 to 3 (1|2).

Also, for network.http.network-changed.timeout, have you tried more values, or just 30?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

to be fair 1 was the first one I tried, something about the combination is tripping us.

I did not try more settings for timeout, 30s seemed sufficient, the default is 5

@barnjamin barnjamin requested a review from jasonpaulos June 17, 2022 11:50
Copy link
Contributor

@jasonpaulos jasonpaulos left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks again for all the debugging work related to Firefox.

Once @algochoi agrees, this looks good to merge, and I hope this will be the last of the flaky Firefox tests 🙏

Copy link
Contributor

@algochoi algochoi left a comment

Choose a reason for hiding this comment

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

Code changes LGTM

@barnjamin barnjamin merged commit 019e1a2 into develop Jun 17, 2022
@barnjamin barnjamin deleted the get-method-by-name branch June 17, 2022 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants