Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix a bunch of flaky tests related to emittedOnce #15871

Merged
merged 1 commit into from Nov 29, 2018

Conversation

nornagon
Copy link
Member

@nornagon nornagon commented Nov 28, 2018

Description of Change

It seems that a common source of test flake is events firing before listeners are registered, in particular with loadURL and did-finish-load. It's not clear to me how those events could be getting fired early, but they are, and this fixes it, hopefully.

Relatedly: #15855

Checklist

  • PR description included and stakeholders cc'd
  • PR title follows semantic commit guidelines

Release Notes

Notes: no-notes

@nornagon nornagon requested review from MarshallOfSound and a team November 28, 2018 21:58
Copy link
Member

@zcbenz zcbenz left a comment

Choose a reason for hiding this comment

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

Awesome!

@nornagon nornagon merged commit 30109d6 into master Nov 29, 2018
@release-clerk
Copy link

release-clerk bot commented Nov 29, 2018

No Release Notes

@nornagon nornagon deleted the fix-flaky-tests branch November 29, 2018 01:52
@nornagon nornagon restored the fix-flaky-tests branch November 29, 2018 01:52
@nornagon
Copy link
Member Author

/trop run backport

@trop
Copy link
Contributor

trop bot commented Nov 29, 2018

The backport process for this PR has been manually initiated, here we go! :D

@trop
Copy link
Contributor

trop bot commented Nov 29, 2018

I was unable to backport this PR to "4-0-x" cleanly;
you will need to perform this backport manually.

@nornagon nornagon deleted the fix-flaky-tests branch November 29, 2018 01:53
@alexeykuzmin
Copy link
Contributor

@nornagon Can you please create a backport it to 4-0-x?

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.

None yet

4 participants