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

Issue 11565018: Avoid timeouts when DRT fails to find a file. (Closed)

Created:
8 years ago by Siggi Cherem (dart-lang)
Modified:
8 years ago
Reviewers:
dgrove, Anton Muhin, ahe
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Avoid timeouts when DRT fails to find a file. Committed: https://code.google.com/p/dart/source/detail?r=16177

Patch Set 1 #

Patch Set 2 : #

Total comments: 5

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -6 lines) Patch
M pkg/unittest/test_controller.js View 1 chunk +8 lines, -3 lines 0 comments Download
M samples/tests/samples/samples.status View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M tools/testing/dart/browser_test.dart View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Siggi Cherem (dart-lang)
This basically adds to test_controller.js and test.dart the extra setup needed to catch these errors. ...
8 years ago (2012-12-13 19:39:08 UTC) #1
Siggi Cherem (dart-lang)
https://codereview.chromium.org/11565018/diff/2001/tools/testing/dart/browser_test.dart File tools/testing/dart/browser_test.dart (right): https://codereview.chromium.org/11565018/diff/2001/tools/testing/dart/browser_test.dart#newcode26 tools/testing/dart/browser_test.dart:26: <script type="$scriptType" src="$sourceScript" onerror="externalError(null)"> I could also just call ...
8 years ago (2012-12-13 20:58:10 UTC) #2
Anton Muhin
lgtm and thanks, Siggi
8 years ago (2012-12-14 01:50:06 UTC) #3
ahe
LGTM https://codereview.chromium.org/11565018/diff/2001/samples/tests/samples/samples.status File samples/tests/samples/samples.status (right): https://codereview.chromium.org/11565018/diff/2001/samples/tests/samples/samples.status#newcode34 samples/tests/samples/samples.status:34: markdown_test: Skip # markdown_test uses dart:io, it should ...
8 years ago (2012-12-14 07:55:46 UTC) #4
Siggi Cherem (dart-lang)
8 years ago (2012-12-14 19:13:01 UTC) #5
thanks guys!

https://codereview.chromium.org/11565018/diff/2001/samples/tests/samples/samp...
File samples/tests/samples/samples.status (right):

https://codereview.chromium.org/11565018/diff/2001/samples/tests/samples/samp...
samples/tests/samples/samples.status:34: markdown_test: Skip # markdown_test
uses dart:io, it should only run in the vm
On 2012/12/14 07:55:46, ahe wrote:
> On 2012/12/13 19:39:08, Siggi Cherem (dart-lang) wrote:
> > note with the latest fix from Anton and the changes in this CL this no
longer
> > times out, yay!, but I don't think we need to run this test in DRT, so I'm
> > keeping it as Skip.
> 
> I'd like to avoid skipping tests unless we absolutely have to.  Marking this
> test as fail ensures that we don't regress on crashes and timeouts.

Thanks, done. I think I'd prefer having a dedicated test for the regression,
rather than using this random test, but we can do that as a follow up.

Powered by Google App Engine
This is Rietveld 408576698