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

Issue 9501003: Do not go infinite loop if test fails constantly. (Closed)

Created:
8 years, 9 months ago by antonm
Modified:
8 years, 9 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Do not go infinite loop if test fails constantly. Committed: https://code.google.com/p/dart/source/detail?r=4704

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressing Mads' comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -3 lines) Patch
M tools/testing/dart/test_runner.dart View 1 3 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
antonm
Overall, are we sure we'd like to ignore the failure if DRT crashes? It looks ...
8 years, 9 months ago (2012-02-28 17:02:51 UTC) #1
Mads Ager (google)
LGTM I'll leave it to Emily and Bill to comment on the ignoring of DRT ...
8 years, 9 months ago (2012-02-28 17:06:55 UTC) #2
antonm
Thanks a lot for review, Mads, submitting. https://chromiumcodereview.appspot.com/9501003/diff/1/tools/testing/dart/test_runner.dart File tools/testing/dart/test_runner.dart (right): https://chromiumcodereview.appspot.com/9501003/diff/1/tools/testing/dart/test_runner.dart#newcode288 tools/testing/dart/test_runner.dart:288: print("Potential flake. ...
8 years, 9 months ago (2012-02-28 17:20:42 UTC) #3
Emily Fortuna
8 years, 9 months ago (2012-02-28 18:29:07 UTC) #4
lgtm. 

Originally test.dart wasn't retrying after DRT crashes, and I added it in at
Bill's request. This was to provide a more accurate count of tests that were
actually passing (in the original test.py and test.dart there was a case where
we could have a false pass: we'd report the test's expected value if DRT crashed
with that particular error (GTK...)). Rerunning DRT eliminated the false
positives we could have been letting through.  Bill can probably give you more
details on why/how this worked.

(Good catch on the infinite loop, though -- sorry!)

Powered by Google App Engine
This is Rietveld 408576698