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

Use waitForEvent in the pasteFromClipboard integration test helper function #18326

Conversation

timvandermeij
Copy link
Contributor

@timvandermeij timvandermeij commented Jun 24, 2024

This code contains the same bug that the previous commit fixed in waitForEvent, namely that we don't clear the timeout if the event is triggered. By using the now fixed waitForEvent function we not only deduplicate this code but we also fix this issue so that no incorrect timeout logs show up anymore.

Note that this patch gets rid of the incorrect timeout logs, but this doesn't solve the problem of the correct timeout logs yet (but it's preparatory work for follow-up patches that address that problem).

Fixes a part of #17931.

@timvandermeij
Copy link
Contributor Author

/botio integrationtest

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 0

Live output at: http://54.193.163.58:8877/8a3d2f22102b7c6/output.txt

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Received

Command cmd_integrationtest from @timvandermeij received. Current queue size: 0

Live output at: http://54.241.84.105:8877/02d98f9c7934571/output.txt

@timvandermeij timvandermeij changed the title Use waitForEvent in the pasteFromClipboard integration test helper function Use waitForEvent in the pasteFromClipboard integration test helper function Jun 24, 2024
@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/02d98f9c7934571/output.txt

Total script time: 8.12 mins

  • Integration Tests: FAILED

@moz-tools-bot
Copy link
Collaborator

From: Bot.io (Windows)


Failed

Full output at http://54.193.163.58:8877/8a3d2f22102b7c6/output.txt

Total script time: 19.03 mins

  • Integration Tests: FAILED

Copy link
Collaborator

@Snuffleupagus Snuffleupagus left a comment

Choose a reason for hiding this comment

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

r=me, thank you!

…r function

This code contains the same bug that the previous commit fixed in
`waitForEvent`, namely that we don't clear the timeout if the event
is triggered. By using the now fixed `waitForEvent` function we not
only deduplicate this code but we also fix this issue so that no
incorrect timeout logs show up anymore.
@timvandermeij timvandermeij force-pushed the integration-test-pastefromclipboard branch from 789cc65 to f974b75 Compare June 25, 2024 11:46
@timvandermeij timvandermeij merged commit 5885874 into mozilla:master Jun 25, 2024
7 checks passed
@timvandermeij timvandermeij deleted the integration-test-pastefromclipboard branch June 25, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants