Luca Cavanna 267183998e [TEST] wait for http channels to be closed in ESIntegTestCase ()
We recently added a check to `ESIntegTestCase` in order to verify that
no http channels are being tracked when we close clusters and the
REST client. Close listeners though are invoked asynchronously, hence
this check may fail if we assert before the close listener that removes
the channel from the map is invoked.

With this commit we add an `assertBusy` so we try and wait for the map
to be empty.

Closes 
Closes 
2019-08-27 14:00:24 +02:00
..