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

Unified Diff: tests/standalone/vmservice/websocket_client_test.dart

Issue 671603006: Ignore GC events in websocket_client_test (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 2 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: tests/standalone/vmservice/websocket_client_test.dart
diff --git a/tests/standalone/vmservice/websocket_client_test.dart b/tests/standalone/vmservice/websocket_client_test.dart
index e6d978232dccff7bdcd1c4a4ee934e13190d1f62..25b94aee08cff968c4e9de9478990ce4ac37b620 100644
--- a/tests/standalone/vmservice/websocket_client_test.dart
+++ b/tests/standalone/vmservice/websocket_client_test.dart
@@ -12,6 +12,10 @@ class ClientsRequestTest extends ServiceWebSocketRequestHelper {
int _count = 0;
onResponse(var seq, Map response) {
+ if (seq == null) {
+ // Ignore push events.
+ return;
+ }
if (seq == 'cli') {
// Verify response is correct for 'cli' sequence id.
Expect.equals('ClientList', response['type']);
« 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