Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions test/test_integration_management.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -1633,9 +1633,8 @@ TEST_CASE("integration: collection management update collection with max expiry"
REQUIRE(test::utils::wait_until([&]() {
collection =
get_collection(integration.cluster, integration.ctx.bucket, scope_name, collection_name);
return collection.has_value();
return collection.has_value() && collection->max_expiry == 0;
}));
REQUIRE(collection->max_expiry == 0);
}

SECTION("positive max expiry")
Expand Down Expand Up @@ -1663,9 +1662,8 @@ TEST_CASE("integration: collection management update collection with max expiry"
REQUIRE(test::utils::wait_until([&]() {
collection =
get_collection(integration.cluster, integration.ctx.bucket, scope_name, collection_name);
return collection.has_value();
return collection.has_value() && collection->max_expiry == 3600;
}));
REQUIRE(collection->max_expiry == 3600);
}

SECTION("setting max expiry to no-expiry")
Expand Down Expand Up @@ -1694,9 +1692,8 @@ TEST_CASE("integration: collection management update collection with max expiry"
REQUIRE(test::utils::wait_until([&]() {
collection =
get_collection(integration.cluster, integration.ctx.bucket, scope_name, collection_name);
return collection.has_value();
return collection.has_value() && collection->max_expiry == -1;
}));
REQUIRE(collection->max_expiry == -1);
} else {
SECTION("core API")
{
Expand Down
Loading