H4 operator-keys-row-goes: no test reads ManifestNeeds or MissingManifestReads
Builds: design 47 H2 H-A-639 (hq 6b8373ce)
This commit is contained in:
@@ -116,15 +116,6 @@ func testTheManifestConsumesTheBackupEvent(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
// ADR 0614 §4: the node-engine's own manifest uses only words every running engine reads (the baseline, what an engine
|
||||
// stating none is read as), so its new build is never held for a word only it reads; but for its class and the
|
||||
// declaration Version it reads, which an engine before them cannot state, so its build is held for a yes once at that
|
||||
// delivery (H-A-388 and its addendum, H-A-394).
|
||||
if needs, err := catalogue.ManifestNeeds(raw); err != nil || len(needs) == 0 {
|
||||
t.Fatalf("the manifest's needs: %v, %v", needs, err)
|
||||
} else if missing := catalogue.MissingManifestReads(needs, nil); !slices.Equal(missing, []string{"word:class", "word:declaration-reads", "word:declaration-writes"}) {
|
||||
t.Errorf("the manifest needs %v, which an engine stating nothing does not read: its new build would be held", missing)
|
||||
}
|
||||
// Design 47 H2 §813 (12), H-A-388: it states the declaration Version it reads, the one its contract parses, so the
|
||||
// delivery plan orders the composer that writes that Version after it.
|
||||
// The claim of node-engine serves every verb the seat's contract defines, composition-diff among them (the H2 K row of
|
||||
|
||||
Reference in New Issue
Block a user