Skip to content

Commit 4dbe09c

Browse files
authored
Improve stability of update collection history ret test (#850)
1 parent b038cc8 commit 4dbe09c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_integration_management.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1931,9 +1931,9 @@ TEST_CASE("integration: collection management bucket dedup", "[integration]")
19311931
std::optional<couchbase::core::topology::collections_manifest::collection> collection{};
19321932
REQUIRE(test::utils::wait_until([&]() {
19331933
collection = get_collection(integration.cluster, bucket_name, scope_name, collection_name);
1934-
return collection.has_value();
1934+
return collection.has_value() && collection->history.has_value() &&
1935+
!collection->history.value();
19351936
}));
1936-
REQUIRE_FALSE(collection->history.value_or(false));
19371937
}
19381938

19391939
// Clean up the bucket that was created for this test

0 commit comments

Comments
 (0)