mesh-delivery-gate: name the acceptance the race test holds (issue 721, 721/AC1)
The review of cc1140ba found the new test cited no acceptance; issue 721's note 15 gives it 721/AC1.
The test's comment now names it. No code changes.
Fixes: issue 721 note 11
Acceptance: 721/AC1
Builds: design 47 H2 §810
This commit is contained in:
@@ -122,11 +122,11 @@ func (l *hookedLedger) Apply(instance, operation string, body any) (uint64, erro
|
|||||||
return seq, err
|
return seq, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// Issue 721 note 11 (design 47 H2 §810): the runtime hands each event and each call to a goroutine of its own, so one can be
|
// 721/AC1 (issue 721 note 11; design 47 H2 §810): the runtime hands each event and each call to a goroutine of its own, so
|
||||||
// heard once a running's outcome is in the ledger and before the gate's memory holds it. Heard then, it waits until the running
|
// one can be heard once a running's outcome is in the ledger and before the gate's memory holds it. Heard then, it waits
|
||||||
// is applied whole: a pipeline-wanted ends the record with its delivery time and class (applied at once it ended the record
|
// until the running is applied whole: a pipeline-wanted ends the record with its delivery time and class (applied at once it
|
||||||
// with neither, the delivery time lost), and the call show answers the record with the running, its answer taken before the
|
// ended the record with neither, the delivery time lost), and the call show answers the record with the running, its answer
|
||||||
// next event writes the record.
|
// taken before the next event writes the record.
|
||||||
func TestWhatIsHeardWhileAnEventIsWrittenWaitsUntilItIsApplied(t *testing.T) {
|
func TestWhatIsHeardWhileAnEventIsWrittenWaitsUntilItIsApplied(t *testing.T) {
|
||||||
running := func(node string) stdio.Envelope {
|
running := func(node string) stdio.Envelope {
|
||||||
return stdio.Envelope{Key: "node-engine.running." + node + ".app", Node: node, Body: json.RawMessage(
|
return stdio.Envelope{Key: "node-engine.running." + node + ".app", Node: node, Body: json.RawMessage(
|
||||||
|
|||||||
Reference in New Issue
Block a user