-
Notifications
You must be signed in to change notification settings - Fork 3.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 testharness.js test-level timeouts (often used for async_test) #11120
Comments
What would remain of the |
Yeah, I'm happy with all of that plan, including removing the If you make a PR it should automatically run all those tests through the gecko CI. |
I've sent https://chromium-review.googlesource.com/c/chromium/src/+/1070155 to see if anything uses that. |
List of tests that need updating:
|
It looks like these strings show up in their own column in the report. Just having the information in the test name or assertion message would work. Needing to pick one means this will require some human judgement to do. |
I'm interested in working on this issue. @foolip, I didn't find any strings like |
@qiuzhong, that's great! Try |
It would be a good idea to split those changes into multiple PRs since otherwise a lot of reviewers will get pulled in. Maybe one PR for each of html, IndexedDB, websockets, mediacapture-streams and cookies, and then one for everything else? Once we think all uses are gone, I'll run a change similar to https://chromium-review.googlesource.com/1070155 through Chromium's CQ to see if anything was missed. Then we can just delete timeouts. |
@foolip, thanks for your good advice. It's really a good idea to split this update into several PRs. I tried the
|
@qiuzhong when you create the PRs, can you link to this issue so that's it easy to find them all? Thanks! |
Remove all the timeout parameters in async_test for IndexedDB tests. Affected tests: 44, Pass: 44, Failed: 0 Related: web-platform-tests#11120
@foolip , sure. I'll add the link of this issue for every PR and update the list status above. |
Remove all the timeout parameters in async_test for IndexedDB tests. Affected tests: 44, Pass: 44, Failed: 0 Related: #11120
Remove all the timeout in `async_test` for html tests. Affected tests: 125 Before: Pass: 64, Failed: 61 After: Pass: 64, Failed: 61 Related: web-platform-tests#11120
Remove all the timeout in async_test for websockets tests. Affected tests: 21 Before: Pass: 6, Failed: 15 After: Pass: 6, Failed: 15 Related: web-platform-tests#11120
Remove all the timeout in `async_test` for mediacapture-streams tests. Affected tests: 12 Before: Pass: 10, Failed: 2 After: Pass: 10, Failed: 2 Related: web-platform-tests#11120
@foolip, There're promise_tests used in
wpt/cookies/http-state/attribute-tests.html Lines 54 to 56 in 706ee77
|
@FHorschig wrote that test. Given the use of an explicit timeout, I suspect that if we remove the test-level timeouts, then if any test doesn't finish, then the whole test would fail when wptrunner stops waiting for it. (This is different from testharness.js internally reaching a timeout and telling wptrunner.) Can you start by checking what the effect on the test is of removing both of the lines you quoted? |
@foolip , I tried to remove both lines and found the pass rate of affected tests didn't change. |
Remove all the timeout in `async_test` for miscellaneous tests except html, IndexedDB, websockets, mediacapture-streams and cookies. Affected tests: 109 Before: Pass: 108, Failed: 1 After: Pass: 108, Failed: 1 Related: web-platform-tests#11120
The |
(At least not to resolve this issue, perhaps they should separately, later.) |
I've sent https://chromium-review.googlesource.com/c/chromium/src/+/1061753 to see what tests still need updating. |
Remove all the `timeout` from promise_test. Related: web-platform-tests#11120
Some async_test tests in webrtc and xhr with timeout are missed during removing all the timeout in async_test. As part of goal #11120, this tests should be updated too.
That job has finished and these are the tests that still need updating:
@qiuzhong do you have PRs out for all of those? |
Looks like #14253 covers some, yay :) |
@qiuzhong with your two most recent PRs merged, I think the tests in css/css-transitions/ are all that remain. |
There're cases that the timeout is passing to async_test in the tests. They should be removed as well. Related: web-platform-tests#11120
Besides the css/css-transitions/, there are other tests in css/css-regions/ that need to remove the |
There're cases that the timeout is passing to async_test in the tests. They should be removed as well. Related: web-platform-tests#11120
@foolip , the tests you listed above should be all covered now. |
There're cases that the timeout is passing to async_test in the tests. They should be removed as well. Related: #11120
@foolip, you listed the steps to remove testharness.js test-level timeouts:
I think the first step was done. But I don't know the status of step 2 so I'm not sure if it's time to start step 3. |
I've started another run of https://chromium-review.googlesource.com/c/chromium/src/+/1061753, but please go ahead with step 3 in parallel, we can check the status of that before merging the final PR. |
As part of goal web-platform-tests#11120, timeout should be removed from testharness.js at the test-level.
https://chromium-review.googlesource.com/c/chromium/src/+/1061753 is all green now, so good to go. |
…harness.js, a=testonly Automatic update from web-platform-tests Remove support for the timeout from testharness.js (#14309) Fixes web-platform-tests/wpt#11120. -- wpt-commits: 6185fc083a08ea74f0ddfffff917321fb6ffa42d wpt-pr: 14309
…harness.js, a=testonly Automatic update from web-platform-tests Remove support for the timeout from testharness.js (#14309) Fixes web-platform-tests/wpt#11120. -- wpt-commits: 6185fc083a08ea74f0ddfffff917321fb6ffa42d wpt-pr: 14309
…harness.js, a=testonly Automatic update from web-platform-tests Remove support for the timeout from testharness.js (#14309) Fixes web-platform-tests/wpt#11120. -- wpt-commits: 6185fc083a08ea74f0ddfffff917321fb6ffa42d wpt-pr: 14309 UltraBlame original commit: 74903a437b49da20e54fde163d89936b305e8ee9
…harness.js, a=testonly Automatic update from web-platform-tests Remove support for the timeout from testharness.js (#14309) Fixes web-platform-tests/wpt#11120. -- wpt-commits: 6185fc083a08ea74f0ddfffff917321fb6ffa42d wpt-pr: 14309 UltraBlame original commit: 74903a437b49da20e54fde163d89936b305e8ee9
…harness.js, a=testonly Automatic update from web-platform-tests Remove support for the timeout from testharness.js (#14309) Fixes web-platform-tests/wpt#11120. -- wpt-commits: 6185fc083a08ea74f0ddfffff917321fb6ffa42d wpt-pr: 14309 UltraBlame original commit: 74903a437b49da20e54fde163d89936b305e8ee9
See discussion at #11029 (comment)
https://chromium-review.googlesource.com/c/chromium/src/+/1061753 shows what tests currently use this timeout.
Steps to this issue:
{ timeout: 1234 }
from all tests@jgraham, plan SGTY?
The text was updated successfully, but these errors were encountered: