Healers manifest test expects the finding stream's 8 MiB (§783) #738

Merged
mesh-tools merged 1 commits from fix/healers-test into main 2026-11-22 13:44:25 +00:00
@@ -84,8 +84,8 @@ func TestTheManifestSaysWhatTheCodeDoes(t *testing.T) {
got := map[string]string{}
for _, r := range m.Requires {
got[r.Name] = r.Template
if r.Name == "finding-events" && (len(r.Options["events"].([]any)) != 3 || r.Options["max-age-days"] != 7.0 || r.Options["max-mib"] != 16.0) {
t.Errorf("the finding stream's options are %v, want the three finding events, 7 days and 16 MiB", r.Options)
if r.Name == "finding-events" && (len(r.Options["events"].([]any)) != 3 || r.Options["max-age-days"] != 7.0 || r.Options["max-mib"] != 8.0) { // H-A-411 (1): 8 MiB on every module that binds it
t.Errorf("the finding stream's options are %v, want the three finding events, 7 days and 8 MiB", r.Options)
}
}
if got[FindingsState] != "state" || got["finding-events"] != "events" || len(m.Streams) != 0 {