]> 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>
Wed, 11 Jul 2012 01:21:00 +0000 (18:21 -0700)
commit0ff6c97983800691fe30595dd0aee1fa4050dec5
tree0200f0191b1be475d7e1b3e6836d3b2a495a99d0
parentee1c029da4226420667ceeec2bacc82dcdae9a46
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