// Ensure a non-power-of-two PG count to avoid only
// touching the easy path.
- std::string err_str = set_pg_num(&s_cluster, pool_name, 11);
- ASSERT_TRUE(err_str.empty());
+ ASSERT_TRUE(set_pg_num(&s_cluster, pool_name, 11).empty());
+ ASSERT_TRUE(set_pgp_num(&s_cluster, pool_name, 11).empty());
std::set<std::string> saw_obj;
rados_object_list_cursor c = rados_object_list_begin(ioctx);
// Ensure a non-power-of-two PG count to avoid only
// touching the easy path.
- std::string err_str = set_pg_num(&s_cluster, pool_name, 11);
- ASSERT_TRUE(err_str.empty());
+ ASSERT_TRUE(set_pg_num(&s_cluster, pool_name, 11).empty());
+ ASSERT_TRUE(set_pgp_num(&s_cluster, pool_name, 11).empty());
rados_object_list_cursor begin = rados_object_list_begin(ioctx);
rados_object_list_cursor end = rados_object_list_end(ioctx);