Skip to content

Commit d5e134b

Browse files
committed
Test versioned API samples on 4.9+ only
1 parent 21c4a21 commit d5e134b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/libmongoc/tests/test-mongoc-sample-commands.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3776,7 +3776,10 @@ test_sample_commands (void)
37763776
if (!test_framework_max_wire_version_at_least (WIRE_VERSION_4_4)) {
37773777
test_sample_txn_commands (client);
37783778
}
3779-
test_sample_versioned_api ();
3779+
3780+
if (test_framework_max_wire_version_at_least (WIRE_VERSION_4_9)) {
3781+
test_sample_versioned_api ();
3782+
}
37803783

37813784
mongoc_collection_drop (collection, NULL);
37823785

0 commit comments

Comments
 (0)