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

Issue 11267008: Fix issue that cases the usesWebDriver getter in TestCase to always return false. (Closed)

Created:
8 years, 2 months ago by Mads Ager (google)
Modified:
8 years, 2 months ago
Reviewers:
ricow1, ahe, Emily Fortuna
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix issue that cases the usesWebDriver getter in TestCase to always return false. Remove newly added code for timeout handling. Make sure that timeout handling actually works so that dart2js timing out will actually cause a timeout even when retrying browser tests. R=ahe@google.com,efortuna@google.com,ricow@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=14014

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -12 lines) Patch
M tools/testing/dart/test_progress.dart View 1 chunk +1 line, -1 line 0 comments Download
M tools/testing/dart/test_runner.dart View 5 chunks +7 lines, -5 lines 2 comments Download
M tools/testing/dart/test_suite.dart View 3 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Mads Ager (google)
8 years, 2 months ago (2012-10-24 12:41:34 UTC) #1
ahe
LGTM. Clearly, this fixes one problem, but I think there are more problems. We expect ...
8 years, 2 months ago (2012-10-24 12:55:58 UTC) #2
Emily Fortuna
I'm unclear what this fixes. @ahe, does this mean AAR would prefer to do the ...
8 years, 2 months ago (2012-10-24 17:14:48 UTC) #3
Emily Fortuna
I remember submitting a change to fix this same thing last week. It must have ...
8 years, 2 months ago (2012-10-24 17:26:22 UTC) #4
Mads Ager (google)
8 years, 2 months ago (2012-10-24 17:56:03 UTC) #5
Thanks Emily. Please do keep looking into the windows browser bots! The only
reason I did this change was that I didn't understand the need for the previous
one and wanted to figure out what was going on. :-)

https://codereview.chromium.org/11267008/diff/1/tools/testing/dart/test_runne...
File tools/testing/dart/test_runner.dart (right):

https://codereview.chromium.org/11267008/diff/1/tools/testing/dart/test_runne...
tools/testing/dart/test_runner.dart:599: timeoutTimer = null;
On 2012/10/24 17:14:48, Emily Fortuna wrote:
> This shouldn't be reached on the bots because the tests are run in batch mode.
I
> don't see how this change fixes anything?

This is needed if step1 fails. I believe that only step2 which is running in the
browser is batched. If you make dart2js timeout by making the dart2js.dart main
entry point loop, the test will fail with a timeout. Then it will be retried,
and without this change dart2js will spin in the infinite loop and never be
killed. With this change dart2js compilation will timeout again and the result
of the test will be a timeout as it should be. I tested this change that way
locally before submitting.

Powered by Google App Engine
This is Rietveld 408576698