diff --git a/modules/nats/cmd/nats-tools/keeper_integration_test.go b/modules/nats/cmd/nats-tools/keeper_integration_test.go index 5b070fd78..8f9ca6c45 100644 --- a/modules/nats/cmd/nats-tools/keeper_integration_test.go +++ b/modules/nats/cmd/nats-tools/keeper_integration_test.go @@ -316,7 +316,9 @@ func TestTheBusModuleRunsWhole(t *testing.T) { _ = Keep(kctx, deaf, func(context.Context, func(string, []byte) error) error { return errors.New("no consumer yet") }, nil, nil, t.Logf) close(done) }() - eventually(t, "the first view answered", func() bool { return !deaf.Status().FirstView.Answered.IsZero() }) + // A first view listing no module is none yet and never marked answered (A-367): the first fill pass is waited + // for instead, then taken as the first (design 47 H, H-A-268). + eventually(t, "the first fill pass", func() bool { return !deaf.Status().Pass.IsZero() }) first := deaf.Status().Pass eventually(t, "a fill pass while the consumer is bound again", func() bool { return deaf.Status().Pass.After(first) }) stopDeaf()