From 33bb6e8e4100326aeefcaeef0c6e553b78d2ec36 Mon Sep 17 00:00:00 2001 From: jochen Date: Sun, 22 Nov 2026 14:09:05 +0100 Subject: [PATCH] Healers manifest test: the finding stream holds 8 MiB MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit H2 set finding-events to max-mib 8 on every module that binds it; the healers' manifest test still expected 16 MiB and failed at main. Builds: design 47 H2 §783, §812; H-A-411 (1), H-A-430 (3) --- modules/mesh-healers/cmd/mesh-healers/manifest_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/mesh-healers/cmd/mesh-healers/manifest_test.go b/modules/mesh-healers/cmd/mesh-healers/manifest_test.go index e1c1989cf..efb620b7a 100644 --- a/modules/mesh-healers/cmd/mesh-healers/manifest_test.go +++ b/modules/mesh-healers/cmd/mesh-healers/manifest_test.go @@ -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 {