aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/bisect/bisect_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/bisect/bisect_test.go')
-rw-r--r--pkg/bisect/bisect_test.go24
1 files changed, 12 insertions, 12 deletions
diff --git a/pkg/bisect/bisect_test.go b/pkg/bisect/bisect_test.go
index 11d14d4fc..30c83db32 100644
--- a/pkg/bisect/bisect_test.go
+++ b/pkg/bisect/bisect_test.go
@@ -918,47 +918,47 @@ func TestMostFrequentReport(t *testing.T) {
{
name: "one infrequent",
reports: []*report.Report{
- {Title: "A", Type: crash.KASANOther},
- {Title: "B", Type: crash.KASANOther},
+ {Title: "A", Type: crash.KASANRead},
+ {Title: "B", Type: crash.KASANRead},
{Title: "C", Type: crash.Bug},
- {Title: "D", Type: crash.KASANOther},
+ {Title: "D", Type: crash.KASANRead},
{Title: "E", Type: crash.Bug},
- {Title: "F", Type: crash.KASANOther},
+ {Title: "F", Type: crash.KASANRead},
{Title: "G", Type: crash.LockdepBug},
},
// LockdepBug was too infrequent.
- types: []crash.Type{crash.KASANOther, crash.Bug},
+ types: []crash.Type{crash.KASANRead, crash.Bug},
report: "A",
other: true,
},
{
name: "ignore hangs",
reports: []*report.Report{
- {Title: "A", Type: crash.KASANOther},
- {Title: "B", Type: crash.KASANOther},
+ {Title: "A", Type: crash.KASANRead},
+ {Title: "B", Type: crash.KASANRead},
{Title: "C", Type: crash.Hang},
- {Title: "D", Type: crash.KASANOther},
+ {Title: "D", Type: crash.KASANRead},
{Title: "E", Type: crash.Hang},
{Title: "F", Type: crash.Hang},
{Title: "G", Type: crash.Warning},
},
// Hang is not a preferred report type.
- types: []crash.Type{crash.KASANOther, crash.Warning},
+ types: []crash.Type{crash.KASANRead, crash.Warning},
report: "A",
other: true,
},
{
name: "take hangs",
reports: []*report.Report{
- {Title: "A", Type: crash.KASANOther},
- {Title: "B", Type: crash.KASANOther},
+ {Title: "A", Type: crash.KASANRead},
+ {Title: "B", Type: crash.KASANRead},
{Title: "C", Type: crash.Hang},
{Title: "D", Type: crash.Hang},
{Title: "E", Type: crash.Hang},
{Title: "F", Type: crash.Hang},
},
// There are so many Hangs that we can't ignore it.
- types: []crash.Type{crash.Hang, crash.KASANOther},
+ types: []crash.Type{crash.Hang, crash.KASANRead},
report: "C",
},
{