| Index: tools/testing/dart/test_runner.dart
|
| diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart
|
| index 1cae1d7773c8e79629eb85a3e4fb0b962accf879..991f8deaa31e7e12fbb3700b30dddfac69d147e9 100644
|
| --- a/tools/testing/dart/test_runner.dart
|
| +++ b/tools/testing/dart/test_runner.dart
|
| @@ -1862,11 +1862,22 @@ class ProcessQueue {
|
| // does that for example)
|
| // TODO(ricow/kustermann): Issue 8206
|
| var unexpectedOutput = commandOutput.unexpectedOutput;
|
| - if (allowRetry && testCase.usesWebDriver
|
| - && unexpectedOutput
|
| - && (testCase as BrowserTestCase).numRetries > 0) {
|
| - // Selenium tests can be flaky. Try rerunning.
|
| - commandOutput.requestRetry = true;
|
| + if (unexpectedOutput && allowRetry) {
|
| + if (testCase.usesWebDriver
|
| + && (testCase as BrowserTestCase).numRetries > 0) {
|
| + // Selenium tests can be flaky. Try rerunning.
|
| + commandOutput.requestRetry = true;
|
| + }
|
| + // FIXME(kustermann): Remove this condition once we figured out why
|
| + // content_shell is sometimes not able to fetch resources from the
|
| + // HttpServer.
|
| + var configuration = testCase.configuration;
|
| + if (configuration['runtime'] == 'drt' &&
|
| + configuration['system'] == 'windows' &&
|
| + (testCase as BrowserTestCase).numRetries > 0) {
|
| + assert(TestUtils.isBrowserRuntime(configuration['runtime']));
|
| + commandOutput.requestRetry = true;
|
| + }
|
| }
|
| }
|
| if (commandOutput.requestRetry) {
|
|
|