mirror of
https://github.com/ceph/ceph
synced 2024-12-28 06:23:08 +00:00
ceph_test_rados_api_tier: make HitSetRead test less noisy
Signed-off-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
bf96a7eae0
commit
f0cfd22975
@ -185,8 +185,7 @@ TEST(LibRadosMisc, HitSetRead) {
|
||||
string n = stringify(i);
|
||||
uint32_t hash = ioctx.get_object_hash_position(n);
|
||||
hobject_t oid(sobject_t(n, CEPH_NOSNAP), "", hash, -1, "");
|
||||
int pg = ioctx.get_object_pg_hash_position(n);
|
||||
std::cout << "checking for " << oid << ", should be in pg " << pg << std::endl;
|
||||
//std::cout << "checking for " << oid << ", should be in pg " << pg << std::endl;
|
||||
bool found = false;
|
||||
for (int p=0; p<num_pg; ++p) {
|
||||
if (hitsets[p].contains(oid)) {
|
||||
|
Loading…
Reference in New Issue
Block a user