elasticsearch
elasticsearch copied to clipboard
Ensure that mock transport does not swallow req
Currently it is possible for the MockTransportService distrupt behavior to swallow requests if either the connection is already closed (in which case response pruning has already occurred) or if the behavior is added after the clear callback has been triggered.
Pinging @elastic/es-distributed (Team:Distributed)
RefCounted instead?
That works. I made that change.