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

Issue 23591061: Make package:scheduled_test throw ScheduledServerErrors, not strings. (Closed)

Created:
7 years, 3 months ago by Bill Hesse
Modified:
7 years, 3 months ago
Reviewers:
nweiz
CC:
reviews_dartlang.org, Søren Gjesse
Visibility:
Public.

Description

Fix failures in pkg/scheduled_test scheduled_server_test. The package and test were throwing strings, which do not have attached stack traces because they are primitives. BUG=dartbug.com/9582 R=nweiz@google.com Committed: https://code.google.com/p/dart/source/detail?r=27790

Patch Set 1 #

Total comments: 2

Patch Set 2 : Stop throwing strings from ScheduledServer #

Patch Set 3 : Fix formatting and stray code. #

Total comments: 3

Patch Set 4 : Change custom error class to fail() from matcher. #

Patch Set 5 : Remove type check on exception. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -67 lines) Patch
M pkg/pkg.status View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M pkg/scheduled_test/lib/scheduled_server.dart View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M pkg/scheduled_test/lib/src/scheduled_server/handler.dart View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M pkg/scheduled_test/test/scheduled_server_test.dart View 1 2 3 4 7 chunks +20 lines, -60 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Bill Hesse
This test is cluttering up the flaky logs, making it harder to see the real ...
7 years, 3 months ago (2013-09-18 14:32:47 UTC) #1
nweiz
https://codereview.chromium.org/23591061/diff/1/pkg/pkg.status File pkg/pkg.status (right): https://codereview.chromium.org/23591061/diff/1/pkg/pkg.status#newcode17 pkg/pkg.status:17: scheduled_test/test/scheduled_server_test: Pass, Slow # Issue 9231, 9582 These issue ...
7 years, 3 months ago (2013-09-18 22:46:02 UTC) #2
Bill Hesse
I fixed the root cause of the new errors on the test, which is that ...
7 years, 3 months ago (2013-09-19 16:56:15 UTC) #3
nweiz
Can you check whether the remaining test issue is in fact caused by HttpException failing ...
7 years, 3 months ago (2013-09-19 19:56:13 UTC) #4
Bill Hesse
https://codereview.chromium.org/23591061/diff/9001/pkg/pkg.status File pkg/pkg.status (right): https://codereview.chromium.org/23591061/diff/9001/pkg/pkg.status#newcode17 pkg/pkg.status:17: scheduled_test/test/scheduled_server_test: Pass, Slow # Issue 9231, 9582 The issue ...
7 years, 3 months ago (2013-09-20 13:30:20 UTC) #5
Bill Hesse
I think all comments are addressed. The note on issue 9151 points out that that ...
7 years, 3 months ago (2013-09-23 16:41:12 UTC) #6
nweiz
lgtm
7 years, 3 months ago (2013-09-23 20:06:39 UTC) #7
Bill Hesse
7 years, 3 months ago (2013-09-24 00:00:51 UTC) #8
Message was sent while issue was closed.
Committed patchset #5 manually as r27790 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698