librados: prefix api test pools

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
This commit is contained in:
Sage Weil 2011-08-21 17:53:03 -07:00
parent 2fb3af45ca
commit 3a623bb327

View File

@ -17,7 +17,9 @@ std::string get_temp_pool_name()
for (size_t i = 0; i < sizeof(out) - 1; ++i) {
out[i] = 'A' + (rand() % 26);
}
return out;
std::string prefix("test-rados-api-");
prefix += out;
return prefix;
}
std::string create_one_pool(const std::string &pool_name, rados_t *cluster)