Reduce temporarily flakiness rate of dart2js-drt by re-running until they have been fixed

We should either remove dart2js-drt or use a stable version of
content_shell from upstream chromium (instead of our dartium-based one)
for dart2js-drt.

Issue #29655

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2891343002 .
This commit is contained in:
Martin Kustermann 2017-05-19 13:11:49 +02:00
parent 1ea216e6de
commit 22c7536d36

View file

@ -2982,6 +2982,14 @@ bool shouldRetryCommand(CommandOutput output) {
return true;
}
// As long as we use a legacy version of our custom content_shell (which
// became quite flaky after chrome-50 roll) we'll re-run tests on it.
// The plan is to use chrome's content_shell instead of our own.
// See http://dartbug.com/29655 .
if (command is ContentShellCommand) {
return true;
}
if (io.Platform.operatingSystem == 'linux') {
decodeOutput();
// No matter which command we ran: If we get failures due to the