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

Side by Side Diff: tools/test.dart

Issue 23556008: Revert revision 27014 "Remove restriction on the number of IE processes running simultainiously" (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | 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 #!/usr/bin/env dart 1 #!/usr/bin/env dart
2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
3 // for details. All rights reserved. Use of this source code is governed by a 3 // for details. All rights reserved. Use of this source code is governed by a
4 // BSD-style license that can be found in the LICENSE file. 4 // BSD-style license that can be found in the LICENSE file.
5 5
6 /** 6 /**
7 * This file is the entrypoint of the dart test suite. This suite is used 7 * This file is the entrypoint of the dart test suite. This suite is used
8 * to test: 8 * to test:
9 * 9 *
10 * 1. the dart vm 10 * 1. the dart vm
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 serverFutures.add(servers.startServers(conf['local_ip'])); 147 serverFutures.add(servers.startServers(conf['local_ip']));
148 conf['_servers_'] = servers; 148 conf['_servers_'] = servers;
149 if (verbose) { 149 if (verbose) {
150 serverFutures.last.then((_) { 150 serverFutures.last.then((_) {
151 var commandline = servers.httpServerCommandline(); 151 var commandline = servers.httpServerCommandline();
152 print('Started HttpServers: $commandline'); 152 print('Started HttpServers: $commandline');
153 }); 153 });
154 } 154 }
155 } 155 }
156 156
157 // If people use selenium they will have issues if we use more than one 157 if (conf['runtime'].startsWith('ie')) {
158 // ie browser at a time. 158 // NOTE: We've experienced random timeouts of tests on ie9/ie10. The
159 if (conf['runtime'].startsWith('ie') && !conf['use_browser_controller']) { 159 // underlying issue has not been determined yet. Our current hypothesis
160 // is that windows does not handle the IE processes independently.
161 // If we have more than one browser and kill a browser we are seeing
162 // issues with starting up a new browser just after killing the hanging
163 // browser.
160 maxBrowserProcesses = 1; 164 maxBrowserProcesses = 1;
161 } else if (conf['runtime'].startsWith('safari') && 165 } else if (conf['runtime'].startsWith('safari') &&
162 conf['use_browser_controller']) { 166 conf['use_browser_controller']) {
163 // Safari does not allow us to run from a fresh profile, so we can only 167 // Safari does not allow us to run from a fresh profile, so we can only
164 // use one browser. 168 // use one browser.
165 maxBrowserProcesses = 1; 169 maxBrowserProcesses = 1;
166 } 170 }
167 171
168 for (String key in selectors.keys) { 172 for (String key in selectors.keys) {
169 if (key == 'co19') { 173 if (key == 'co19') {
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 void main() { 282 void main() {
279 deleteTemporaryDartDirectories().then((_) { 283 deleteTemporaryDartDirectories().then((_) {
280 var optionsParser = new TestOptionsParser(); 284 var optionsParser = new TestOptionsParser();
281 var configurations = optionsParser.parse(new Options().arguments); 285 var configurations = optionsParser.parse(new Options().arguments);
282 if (configurations != null && configurations.length > 0) { 286 if (configurations != null && configurations.length > 0) {
283 testConfigurations(configurations); 287 testConfigurations(configurations);
284 } 288 }
285 }); 289 });
286 } 290 }
287 291
OLDNEW
« 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