-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Remove most waitForTimeout
usage from the scripting integration tests
#17974
Remove most waitForTimeout
usage from the scripting integration tests
#17974
Conversation
/botio integrationtest |
/botio integrationtest |
(I'm deferring to @calixteman on this.) |
@calixteman Do you perhaps have time to review this PR and #17969? Those should already give us more stable integration tests and we can then continue with the final |
190123c
to
e0a8c40
Compare
waitForTimeout
usage from the scripting integration testswaitForTimeout
usage from the scripting integration tests
8d7e437
to
10121c2
Compare
I have rebased the patch, updated it to use @calixteman You can best view the changes since the last review in https://github.com/mozilla/pdf.js/compare/8d7e4378fbe70961dd7503077aab14b31644dae0..10121c2060f1f8bc9b2c896122b36221592edf22#diff-c0973b2c3b147db1eccd21c6b1af307f33a7e5d2658b4a0738a2386470b9c0ca (since the whole interdiff is a bit big due to the rebase). |
/botio integrationtest |
0f35367
to
7f64fae
Compare
7f64fae
to
0985f7b
Compare
/botio integrationtest |
b3d3a1d
to
a3754c4
Compare
/botio integrationtest |
1e11c09
to
eb2edb4
Compare
@calixteman Gentle ping for this patch; are the changes from #17974 (comment) sufficient or is there more I should address here? |
This commit replaces most `waitForTimeout` occurrences with calls to `waitForFunction` or `waitForSandboxTrip`. Note that the occurrences in the "must check that focus/blur callbacks aren't called" test remain until we find a good way to ensure that nothing happened after the tab switches (because currently we can't be sure that nothing happens since there is nothing to await).
eb2edb4
to
23de3fd
Compare
/botio integrationtest |
/botio integrationtest |
From: Bot.io (Linux m4)ReceivedCommand cmd_integrationtest from @timvandermeij received. Current queue size: 0 Live output at: http://54.241.84.105:8877/ab664268ebf7216/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_integrationtest from @timvandermeij received. Current queue size: 0 Live output at: http://54.193.163.58:8877/a87b18b2c5b17fb/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.241.84.105:8877/ab664268ebf7216/output.txt Total script time: 7.40 mins
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thank you for doing that.
From: Bot.io (Windows)FailedFull output at http://54.193.163.58:8877/a87b18b2c5b17fb/output.txt Total script time: 23.27 mins
|
This commit replaces most
waitForTimeout
occurrences with calls towaitForFunction
orwaitForSandboxTrip
. Note that the occurrences in the "must check that focus/blur callbacks aren't called" test remain until we find a good way to ensure that nothing happened after the tab switches (because currently we can't be sure that nothing happens since there is nothing to await).Fixes a part of #17656.