Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
1.0.0-beta
-
None
-
1
Description
Build with -DENABLE_SANITIZER_LEAK=ON
Drop a bucket while still connected to it
TEST_CASE("drop bucket while open")
|
{
|
test::utils::integration_test_guard integration;
|
auto bucket_name = test::utils::uniq_id("bucket");
|
|
{
|
couchbase::operations::management::bucket_create_request req;
|
req.bucket.name = bucket_name;
|
auto resp = test::utils::execute(integration.cluster, req);
|
REQUIRE_FALSE(resp.ctx.ec);
|
}
|
|
test::utils::wait_until_bucket_healthy(integration.cluster, bucket_name);
|
|
test::utils::open_bucket(integration.cluster, bucket_name);
|
|
{
|
couchbase::operations::management::bucket_drop_request req{ bucket_name };
|
auto resp = test::utils::execute(integration.cluster, req);
|
}
|
}
|
==59970==ERROR: LeakSanitizer: detected memory leaks
|
|
[...]
|
|
SUMMARY: LeakSanitizer: 37666 byte(s) leaked in 295 allocation(s).
|