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

Issue 11364129: Added support for logging the output of failed flaky tests. (Closed)

Created:
8 years, 1 month ago by kustermann
Modified:
8 years, 1 month ago
Reviewers:
ricow1, ahe
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Added support for logging the output of failed flaky tests. Failed flaky tests will be logged to 'failed_flaky_tests.log'. The default behavior is that the old log file gets deleted before any tests are run. To prevent this, the '--append_flaky_log' option can be set. Committed: https://code.google.com/p/dart/source/detail?r=14735

Patch Set 1 #

Total comments: 8

Patch Set 2 : #

Total comments: 14

Patch Set 3 : #

Patch Set 4 : #

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

Messages

Total messages: 10 (0 generated)
kustermann
8 years, 1 month ago (2012-11-07 16:40:25 UTC) #1
ricow1
https://codereview.chromium.org/11364129/diff/1/tools/testing/dart/test_progress.dart File tools/testing/dart/test_progress.dart (right): https://codereview.chromium.org/11364129/diff/1/tools/testing/dart/test_progress.dart#newcode52 tools/testing/dart/test_progress.dart:52: var report = new StringBuffer(); extract the body of ...
8 years, 1 month ago (2012-11-07 19:56:51 UTC) #2
ricow1
One additional comment: we should make sure that the statistics from --report are still correct ...
8 years, 1 month ago (2012-11-08 08:52:42 UTC) #3
kustermann
PTAL https://codereview.chromium.org/11364129/diff/1/tools/testing/dart/test_progress.dart File tools/testing/dart/test_progress.dart (right): https://codereview.chromium.org/11364129/diff/1/tools/testing/dart/test_progress.dart#newcode52 tools/testing/dart/test_progress.dart:52: var report = new StringBuffer(); On 2012/11/07 19:56:51, ...
8 years, 1 month ago (2012-11-08 09:15:13 UTC) #4
ricow1
https://codereview.chromium.org/11364129/diff/8/tools/test-runtime.dart File tools/test-runtime.dart (right): https://codereview.chromium.org/11364129/diff/8/tools/test-runtime.dart#newcode14 tools/test-runtime.dart:14: #import("testing/dart/test_progress.dart"); why do we need this? https://codereview.chromium.org/11364129/diff/8/tools/test-runtime.dart#newcode54 tools/test-runtime.dart:54: var ...
8 years, 1 month ago (2012-11-08 09:49:13 UTC) #5
kustermann
https://codereview.chromium.org/11364129/diff/8/tools/test-runtime.dart File tools/test-runtime.dart (right): https://codereview.chromium.org/11364129/diff/8/tools/test-runtime.dart#newcode14 tools/test-runtime.dart:14: #import("testing/dart/test_progress.dart"); On 2012/11/08 09:49:13, ricow1 wrote: > why do ...
8 years, 1 month ago (2012-11-08 10:24:41 UTC) #6
ricow1
LGTM with small comment, please wait for Peter to also take a look https://codereview.chromium.org/11364129/diff/8/tools/test-runtime.dart File ...
8 years, 1 month ago (2012-11-08 10:32:50 UTC) #7
kustermann
PTAL https://codereview.chromium.org/11364129/diff/8/tools/test-runtime.dart File tools/test-runtime.dart (right): https://codereview.chromium.org/11364129/diff/8/tools/test-runtime.dart#newcode14 tools/test-runtime.dart:14: #import("testing/dart/test_progress.dart"); On 2012/11/08 10:32:51, ricow1 wrote: > On ...
8 years, 1 month ago (2012-11-08 12:05:34 UTC) #8
ricow1
Still LGTM (but please wait for Peters comments) https://codereview.chromium.org/11364129/diff/11001/tools/testing/dart/test_suite.dart File tools/testing/dart/test_suite.dart (right): https://codereview.chromium.org/11364129/diff/11001/tools/testing/dart/test_suite.dart#newcode1355 tools/testing/dart/test_suite.dart:1355: // ...
8 years, 1 month ago (2012-11-08 12:28:49 UTC) #9
ahe
8 years, 1 month ago (2012-11-09 10:35:01 UTC) #10
LGTM!

https://codereview.chromium.org/11364129/diff/11001/tools/test-runtime.dart
File tools/test-runtime.dart (right):

https://codereview.chromium.org/11364129/diff/11001/tools/test-runtime.dart#n...
tools/test-runtime.dart:55: var file = new File(TestUtils.flakyFileName());
Should flakyFileName be a getter?

https://codereview.chromium.org/11364129/diff/11001/tools/testing/dart/test_r...
File tools/testing/dart/test_runner.dart (right):

https://codereview.chromium.org/11364129/diff/11001/tools/testing/dart/test_r...
tools/testing/dart/test_runner.dart:172: if (expectedOutcomes.contains(SKIP)) {
Weird indentation.

https://codereview.chromium.org/11364129/diff/11001/tools/testing/dart/test_s...
File tools/testing/dart/test_suite.dart (right):

https://codereview.chromium.org/11364129/diff/11001/tools/testing/dart/test_s...
tools/testing/dart/test_suite.dart:1359: return ".flaky.log";
I suggest that you remove the first dot.

Powered by Google App Engine
This is Rietveld 408576698