diff --git a/modules/mesh-delivery-checker/internal/check/examiner_test.go b/modules/mesh-delivery-checker/internal/check/examiner_test.go index e9f490d5..fca34153 100644 --- a/modules/mesh-delivery-checker/internal/check/examiner_test.go +++ b/modules/mesh-delivery-checker/internal/check/examiner_test.go @@ -1119,7 +1119,13 @@ func TestTheIndexersJudgeJudgesTheChangesManifests(t *testing.T) { } p.Modules = []string{"web"} p.Fps = map[string]delivery.CandidateModule{"web": {FP2: "src2:" + strings.Repeat("f", 64), Manifest: web}} - v := b.judge(t, caseOf(t, p)).Verdict + cs := caseOf(t, p) + v := b.judge(t, cs).Verdict + if row.indexer == "ok" && !slices.ContainsFunc(cs.notes, func(n string) bool { + return strings.Contains(n, "the new indexer's manifest of web is accepted by the trunk's judge") + }) { + t.Errorf("%s: the case says %v, want the new indexer's manifest said accepted by the trunk's judge", row.name, cs.notes) + } if row.ownJudge && (len(judged) != 2 || judged[0].Fetch["commit"] != head1 || judged[1].Fetch["commit"] != trunk) { t.Fatalf("%s: judged %+v, want the head's judge and then the trunk's", row.name, judged) }