Skip to content

Commit 56a0386

Browse files
authored
re-enable testing on DB version 7+ (#956)
CXX-2671 Fix was introduced in: #952
1 parent 94b7abd commit 56a0386

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

examples/mongocxx/mongodb.com/documentation_examples.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1612,8 +1612,7 @@ int main() {
16121612
projection_examples(db);
16131613
update_examples(db);
16141614
delete_examples(db);
1615-
if (is_replica_set(conn) && version_at_least(db, 5) && !version_at_least(db, 7)) {
1616-
// CXX-2671: revert skipping 7.0+ once fix for snapshot example error is known.
1615+
if (is_replica_set(conn) && version_at_least(db, 5)) {
16171616
snapshot_example1(conn);
16181617
snapshot_example2(conn);
16191618
}

0 commit comments

Comments
 (0)