Healers manifest test: the finding stream holds 8 MiB
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)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user