diff --git a/cmd/mesh-controller/reconnects_integration_test.go b/cmd/mesh-controller/reconnects_integration_test.go index 6cf7e7d3..65c13bf3 100644 --- a/cmd/mesh-controller/reconnects_integration_test.go +++ b/cmd/mesh-controller/reconnects_integration_test.go @@ -52,7 +52,8 @@ func TestTheServingControllerLendsItsOwnConnection(t *testing.T) { if a := answer.(verbAnswer); !a.OK || a.Answer == nil { t.Fatalf("hand-acts answered %+v", a) } - _, _ = handlers["queue"](context.Background(), json.RawMessage(`{}`)) + // A read-only verb that dials the bus and the store: inside the serving controller it borrows. + _, _ = handlers["conditions"](context.Background(), json.RawMessage(`{}`)) after, _ := bus.Varz(nil) if opened := after.TotalConnections - before.TotalConnections; opened != 0 { t.Fatalf("the serving controller opened %d connection(s) of its own", opened)