Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(217)

Issue 67198: Add concept of slow tests. (Closed)

Created:
11 years, 8 months ago by ojan
Modified:
9 years, 7 months ago
Reviewers:
tony
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add concept of slow tests. Only mark one test as slow for now. After checkin, I'll add a ton of slow tests and reduce the timeout for non-slow tests to something like 1 second. To aid in that, I've added 90th percentile and 99th percentile times to the statistics we report. Also made it so that tests marked as slow and timeout/crash tests are listed separately from the slowest 50 tests so that list can be used to know which tests to mark slow. Tests cannot be marked as both SLOW and TIMEOUT. If the test times out, then we want it to timeout early to avoid waiting a long timeout for a test that we know is just going to timeout. TestShell can now do per-test timeouts. We could easily make run-webkit-tests do per-test timeouts, but I think just having the one modifier of SLOW is easier to grok. Makes the test lists simpler and allows for having longer timeouts on debug/purify builders. BUG=9324

Patch Set 1 #

Total comments: 18

Patch Set 2 : Code review comments #

Patch Set 3 : Foobar #

Patch Set 4 : do git pull, fix diff #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -100 lines) Patch
M webkit/tools/layout_tests/layout_package/test_expectations.py View 1 5 chunks +17 lines, -3 lines 0 comments Download
M webkit/tools/layout_tests/layout_package/test_shell_thread.py View 1 11 chunks +46 lines, -45 lines 0 comments Download
M webkit/tools/layout_tests/run_webkit_tests.py View 1 17 chunks +118 lines, -43 lines 0 comments Download
M webkit/tools/layout_tests/test_expectations.txt View 1 2 3 4 chunks +7 lines, -7 lines 0 comments Download
M webkit/tools/test_shell/test_shell_main.cc View 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
ojan
11 years, 8 months ago (2009-04-16 01:41:37 UTC) #1
tony
Mostly nits. 10x seems like too big a factor for slow tests. I was thinking ...
11 years, 8 months ago (2009-04-16 17:13:22 UTC) #2
ojan
On 2009/04/16 17:13:22, tony wrote: > Mostly nits. 10x seems like too big a factor ...
11 years, 8 months ago (2009-04-16 18:47:43 UTC) #3
tony
11 years, 8 months ago (2009-04-16 19:00:26 UTC) #4
LGTM.

I'm skeptical that 99% is good enough (99% of 8000 is still 80 tests to mark as
slow).  Anyway, we can tweak it easily.

Powered by Google App Engine
This is Rietveld 408576698