diff --git a/src/mongocxx/test/search_index_view.cpp b/src/mongocxx/test/search_index_view.cpp index 81cac4264c..41524297fe 100644 --- a/src/mongocxx/test/search_index_view.cpp +++ b/src/mongocxx/test/search_index_view.cpp @@ -235,7 +235,7 @@ TEST_CASE("atlas search indexes prose tests", "") { // Apply non-default read concern. auto nondefault_rc = mongocxx::read_concern(); - nondefault_rc.acknowledge_level(mongocxx::read_concern::level::k_local); + nondefault_rc.acknowledge_level(mongocxx::read_concern::level::k_majority); coll.read_concern(nondefault_rc); auto siv = coll.search_indexes();