Call a verb that still exists in the reconnects test, since queue was removed (issue 1931)

This commit is contained in:
2026-10-24 03:20:38 +02:00
parent 1c50608246
commit ab9a7771f4
@@ -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)