diff --git a/go/approval/approval_test.go b/go/approval/approval_test.go index a0ed8ca6..066d8b0b 100644 --- a/go/approval/approval_test.go +++ b/go/approval/approval_test.go @@ -92,7 +92,7 @@ func (unread) Newest(string) (Entry, bool) { return Entry{}, fals func (unread) Definitions() map[string]seatdef.Definition { return nil } func (unread) Entries() []Entry { return nil } -// Design 47 G lead answers A-353, A-359: while its catalog half is unread, the gate lets through the four seat verbs that +// Design 47 G lead answers A-353, A-359: while its catalog half is unread, the gate lets through the five seat verbs that // half is read by, told from the call's seat and verb, and holds every other call as before. func TestAnUnreadCatalogHalfLetsItsOwnReadsThrough(t *testing.T) { waited := 0 @@ -108,6 +108,8 @@ func TestAnUnreadCatalogHalfLetsItsOwnReadsThrough(t *testing.T) { {"mesh-catalog", "revision", true}, {"mesh-catalog", "entry", true}, {"mesh-delivery", "source", true}, + {"mesh-broker", "list", true}, + {"mesh-broker", "events", false}, {"mesh-catalog", "register", false}, {"mesh-delivery", "registrations", false}, {"", "registrations", false}, // a module's tool of that name is no seat verb @@ -127,7 +129,7 @@ func TestAnUnreadCatalogHalfLetsItsOwnReadsThrough(t *testing.T) { t.Errorf("%s: refused with %v, want the marks not read yet", address, err) } } - if waited != 4 { - t.Errorf("the other calls waited for the catalog half %d times, want 4 (the four start reads wait for nothing)", waited) + if waited != 5 { + t.Errorf("the other calls waited for the catalog half %d times, want 5 (the five start reads wait for nothing)", waited) } } diff --git a/go/approval/run.go b/go/approval/run.go index 42a701d4..dbc58dba 100644 --- a/go/approval/run.go +++ b/go/approval/run.go @@ -70,8 +70,8 @@ type Binding interface{ Bound() bool } // startReads are the seat verbs the catalog half is read by, as `.`: while it is unread the gate lets them // through, so the runner that serves them answers the reads its own catalog half waits on (design 47 G lead answers -// A-353, A-359). -var startReads = []string{"mesh-catalog.registrations", "mesh-catalog.revision", "mesh-catalog.entry", "mesh-delivery.source"} +// A-353, A-359, A-375). +var startReads = []string{"mesh-catalog.registrations", "mesh-catalog.revision", "mesh-catalog.entry", "mesh-delivery.source", "mesh-broker.list"} // startRead says the call is one of startReads, told from its seat and verb. func startRead(c Call) bool {