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

Side by Side Diff: runtime/observatory/tests/service/test_helper.dart

Issue 2172513003: Rate limit devfs writes (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « runtime/bin/vmservice/vmservice_io.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library test_helper; 5 library test_helper;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:convert'; 8 import 'dart:convert';
9 import 'dart:io'; 9 import 'dart:io';
10 import 'package:observatory/service_io.dart'; 10 import 'package:observatory/service_io.dart';
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 bool pause_on_exit, 95 bool pause_on_exit,
96 bool pause_on_unhandled_exceptions, 96 bool pause_on_unhandled_exceptions,
97 bool trace_service, 97 bool trace_service,
98 bool trace_compiler) { 98 bool trace_compiler) {
99 assert(pause_on_start != null); 99 assert(pause_on_start != null);
100 assert(pause_on_exit != null); 100 assert(pause_on_exit != null);
101 assert(pause_on_unhandled_exceptions != null); 101 assert(pause_on_unhandled_exceptions != null);
102 assert(trace_service != null); 102 assert(trace_service != null);
103 assert(trace_compiler != null); 103 assert(trace_compiler != null);
104 104
105 // TODO(turnidge): I have temporarily turned on service tracing for
106 // all tests to help diagnose flaky tests.
107 trace_service = true;
108
109 if (_shouldLaunchSkyShell()) { 105 if (_shouldLaunchSkyShell()) {
110 return _spawnSkyProcess(pause_on_start, 106 return _spawnSkyProcess(pause_on_start,
111 pause_on_exit, 107 pause_on_exit,
112 pause_on_unhandled_exceptions, 108 pause_on_unhandled_exceptions,
113 trace_service, 109 trace_service,
114 trace_compiler); 110 trace_compiler);
115 } else { 111 } else {
116 return _spawnDartProcess(pause_on_start, 112 return _spawnDartProcess(pause_on_start,
117 pause_on_exit, 113 pause_on_exit,
118 pause_on_unhandled_exceptions, 114 pause_on_unhandled_exceptions,
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 mainArgs: mainArgs, 479 mainArgs: mainArgs,
484 vmTests: tests, 480 vmTests: tests,
485 pause_on_start: pause_on_start, 481 pause_on_start: pause_on_start,
486 pause_on_exit: pause_on_exit, 482 pause_on_exit: pause_on_exit,
487 trace_service: trace_service, 483 trace_service: trace_service,
488 trace_compiler: trace_compiler, 484 trace_compiler: trace_compiler,
489 verbose_vm: verbose_vm, 485 verbose_vm: verbose_vm,
490 pause_on_unhandled_exceptions: pause_on_unhandled_exceptions); 486 pause_on_unhandled_exceptions: pause_on_unhandled_exceptions);
491 } 487 }
492 } 488 }
OLDNEW
« no previous file with comments | « runtime/bin/vmservice/vmservice_io.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698