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

Unified Diff: tools/testing/dart/test_runner.dart

Issue 902083004: Revert "Remove test retrying for Safari, in test scripts." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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: tools/testing/dart/test_runner.dart
diff --git a/tools/testing/dart/test_runner.dart b/tools/testing/dart/test_runner.dart
index 829c9844033637440992838c1a2f8eabb7397367..1bdd0c7aa01c1f3a6e3c8cc27e4f33aa771488c3 100644
--- a/tools/testing/dart/test_runner.dart
+++ b/tools/testing/dart/test_runner.dart
@@ -2624,6 +2624,15 @@ class ReplayingCommandExecutor implements CommandExecutor {
bool shouldRetryCommand(CommandOutput output) {
var command = output.command;
+ // We rerun tests on Safari because 6.2 and 7.1 are flaky. Issue 21434.
+ if (command is BrowserTestCommand &&
+ command.retry &&
+ command.browser == 'safari' &&
+ output is BrowserControllerTestOutcome &&
+ output._rawOutcome != Expectation.PASS) {
+ return true;
+ }
+
if (!output.successful) {
List<String> stdout, stderr;
« 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