diff --git a/modules/mesh-grants/cmd/mesh-grants/integration_test.go b/modules/mesh-grants/cmd/mesh-grants/integration_test.go index a7d41915..b64f7cdf 100644 --- a/modules/mesh-grants/cmd/mesh-grants/integration_test.go +++ b/modules/mesh-grants/cmd/mesh-grants/integration_test.go @@ -147,7 +147,10 @@ func TestTheGrantsPartWhole(t *testing.T) { consumers := []any{} names := st.ConsumerNames(ctx) for name := range names.Name() { - c, _ := st.Consumer(ctx, name) + c, err := st.Consumer(ctx, name) + if err != nil { + continue // deleted between the listing and its read: the bus module's tool lists what it can read + } cfg := c.CachedInfo().Config consumers = append(consumers, map[string]any{"name": name, "filters": cfg.FilterSubjects, "max_deliver": cfg.MaxDeliver}) }