mesh_wait knows every seat of the seat list by the events it declares
A wait by seat and event name was refused for a seat the catalog half's own definitions do not name (the runner's mesh-pipeline-runner.pipeline-ended, defined in the delivery repository's contracts module), though the seat list declares the event under the seat's events family. Every seat of the seat list is now an emitter by its declared events. Builds: design 47 H2 §821, H-A-343
This commit is contained in:
@@ -246,6 +246,8 @@ func TestMeshWaitRefusesLoudlyAndNeverLoops(t *testing.T) {
|
||||
{"mesh-delivry-view.delivered", "mesh-delivry-view is neither a seat nor a module of the catalog half (mesh-catalog.revision, revision 7 of main)", true},
|
||||
{"mesh-delivery-view.planned", "no declaration names mesh-delivery-view.planned", false},
|
||||
{"mesh-catalog.catalog-revision", "", false},
|
||||
// a seat of the seat list the half's definitions do not name is waited on by its declared event (design 47 H2 §821)
|
||||
{"mesh-wants.wanted", "", false},
|
||||
} {
|
||||
text, isErr := callWait(half, map[string]any{"subjects": []any{c.name}, "timeout": 1})
|
||||
if isErr != c.refused || c.says != "" && !strings.Contains(text, c.says) ||
|
||||
|
||||
Reference in New Issue
Block a user