]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test_stress_watch: just one librados instance
authorSage Weil <sage@inktank.com>
Tue, 10 Jul 2012 03:54:19 +0000 (20:54 -0700)
committerSage Weil <sage@inktank.com>
Tue, 10 Jul 2012 04:27:11 +0000 (21:27 -0700)
commit58f46bb94fb22301cbb47ca3d861f256882ccfe0
tree6ab6a2b12badaad62db9887ffdb3ebf7e11207fc
parent67a5e75ed6a9b3689a984d6f7eb6a18e1242125e
test_stress_watch: just one librados instance

This was creating a new cluster connection/session per iteration, and
along with it a few service threads and sockets and so forth.

Unfortunately, librados leaks like a sieve, starting with CephContext
and ceph::crypto::init().  See #845 and #2067.

Signed-off-by: Sage Weil <sage@inktank.com>
src/test/test_stress_watch.cc