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

Unified Diff: runtime/observatory/tests/service/test_helper.dart

Issue 2093703002: Avoid to mask all the NetworkRpcException (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/tests/service/test_helper.dart
diff --git a/runtime/observatory/tests/service/test_helper.dart b/runtime/observatory/tests/service/test_helper.dart
index 1d2ea9d54dec24b1ab974940b3970138cb865a76..0b7749e1b39cc6f7eac493874c211e33d64c1f7f 100644
--- a/runtime/observatory/tests/service/test_helper.dart
+++ b/runtime/observatory/tests/service/test_helper.dart
@@ -310,7 +310,10 @@ class _ServiceTesterRunner {
await process.requestExit();
}, onError: (e, st) {
process.requestExit();
- if (!_isWebSocketDisconnect(e)) {
+ // TODO: remove this workaround.
Cutch 2016/06/23 17:59:20 Can you please expand on this comment and explain
cbernaschina 2016/06/23 18:27:24 Done.
+ // This is necessary due to non awaited operations.
+ // E.G. object.dart (398~402)
+ if (st != null || !_isWebSocketDisconnect(e)) {
print('Unexpected exception in service tests: $e $st');
throw e;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698