mirror of
https://github.com/ceph/ceph
synced 2025-02-18 16:37:41 +00:00
librados: prefix api test pools
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
This commit is contained in:
parent
2fb3af45ca
commit
3a623bb327
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user