Call a verb that still exists in the reconnects test, since queue was removed (issue 1931)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user