Ignore arm64 flake test results for now

pull/13727/head
Sharif Elgamal 2022-02-25 13:24:51 -08:00
parent 72d2880961
commit 279cf2d39f
1 changed files with 5 additions and 1 deletions

View File

@ -73,7 +73,7 @@ type testEntry struct {
duration float32
}
// A map with keys of (environment, test_name) to values of slcies of TestEntry.
// A map with keys of (environment, test_name) to values of slices of TestEntry.
type splitEntryMap map[string]map[string][]testEntry
// Reads CSV `file` and consumes each line to be a single TestEntry.
@ -168,6 +168,10 @@ func filterRecentEntries(splitEntries splitEntryMap, dateCutoff time.Time) split
filteredEntries := make(splitEntryMap)
for environment, environmentSplit := range splitEntries {
// Ignore arm64 tests until they're back under control
if strings.Contains(environment, "arm64") {
continue
}
for test, testSplit := range environmentSplit {
for _, entry := range testSplit {
if !entry.date.Before(dateCutoff) {