1
0
mirror of https://github.com/golang/go synced 2024-11-18 15:14:44 -07:00

dashboard/cmd/retrybuilds: add another flaky detection rule

Change-Id: Ifb88fc7903260e9d32dbeac6bfbc1b60d26bedc8
Reviewed-on: https://go-review.googlesource.com/2891
Reviewed-by: Andrew Gerrand <adg@golang.org>
This commit is contained in:
Brad Fitzpatrick 2015-01-15 10:40:44 -08:00
parent 94e3c965eb
commit 44f7d38ccc

View File

@ -113,6 +113,9 @@ func isFlaky(failLog string) bool {
if strings.HasPrefix(failLog, "exit status ") { if strings.HasPrefix(failLog, "exit status ") {
return true return true
} }
if strings.HasPrefix(failLog, "timed out after ") {
return true
}
for _, phrase := range flakePhrases { for _, phrase := range flakePhrases {
if strings.Contains(failLog, phrase) { if strings.Contains(failLog, phrase) {
return true return true