Merge pull request #13727 from sharifelgamal/flake-bot-arm64

Ignore KVM CRI-O flake test results for now
pull/13724/head^2
Medya Ghazizadeh 2022-03-01 09:12:04 -08:00 committed by GitHub
commit d5f7933a16
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 kvm crio tests until they're back under control
if environment == "KVM_Linux_crio" {
continue
}
for test, testSplit := range environmentSplit {
for _, entry := range testSplit {
if !entry.date.Before(dateCutoff) {