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

Issue 2093703002: Avoid to mask all the NetworkRpcException (Closed)

Created:
4 years, 6 months ago by cbernaschina
Modified:
4 years, 5 months ago
Reviewers:
Cutch, rmacnak, turnidge
CC:
reviews_dartlang.org, turnidge, rmacnak, Cutch, vm-dev_dartlang.org
Base URL:
https://github.com/dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Avoid to mask all the NetworkRpcException If a malformed message is received and the test fails with a NetworkRpcException the framework ignores it. This is still a workaround, if the exception is no thrown from inside the test, but from a non awaited Future, it will still pass the test. To fix it definetly, it is required to find all the non awaited rpc requests and await for them. R=johnmccutchan@google.com Committed: https://github.com/dart-lang/sdk/commit/0aa1f383d91d5b24cedf73ed4100dafcef46e817

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added explanation for added condition #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M runtime/observatory/tests/service/test_helper.dart View 1 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 8 (3 generated)
cbernaschina
4 years, 6 months ago (2016-06-23 17:53:02 UTC) #3
Cutch
https://codereview.chromium.org/2093703002/diff/1/runtime/observatory/tests/service/test_helper.dart File runtime/observatory/tests/service/test_helper.dart (right): https://codereview.chromium.org/2093703002/diff/1/runtime/observatory/tests/service/test_helper.dart#newcode313 runtime/observatory/tests/service/test_helper.dart:313: // TODO: remove this workaround. Can you please expand ...
4 years, 6 months ago (2016-06-23 17:59:21 UTC) #4
cbernaschina
https://codereview.chromium.org/2093703002/diff/1/runtime/observatory/tests/service/test_helper.dart File runtime/observatory/tests/service/test_helper.dart (right): https://codereview.chromium.org/2093703002/diff/1/runtime/observatory/tests/service/test_helper.dart#newcode313 runtime/observatory/tests/service/test_helper.dart:313: // TODO: remove this workaround. On 2016/06/23 17:59:20, Cutch ...
4 years, 6 months ago (2016-06-23 18:27:24 UTC) #5
Cutch
lgtm
4 years, 5 months ago (2016-06-28 20:03:09 UTC) #6
cbernaschina
4 years, 5 months ago (2016-06-28 21:03:19 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
0aa1f383d91d5b24cedf73ed4100dafcef46e817 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698