This comment was added in commit
0b583944e4, but
later rendered obsolete by commit
143333b172.
Change-Id: I1a64ab75a9883a88d5767722e27724520f8a0dcc
/**
* Trivial LoadBalancer that always returns an injected connection handle.
- *
- * Note that, while this LoadBalancer does not open any connections itself,
- * it still closes the injected connection at times, including during destruction.
- * It is therefore unsuitable for use in tests unless you have a Database instance
- * separate from the main test database (which is expected to stay open).
*/
class LoadBalancerSingle extends LoadBalancer {
/** @var IDatabase */