Blob Blame History Raw
diff -up mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection.cpp.32bit-exclude-wiredTiger-tests mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection.cpp
--- mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection.cpp.32bit-exclude-wiredTiger-tests	2018-07-27 18:44:29.000000000 +0200
+++ mongo-cxx-driver-r3.3.1/src/mongocxx/test/collection.cpp	2018-10-05 11:59:21.676255900 +0200
@@ -2397,6 +2398,8 @@ TEST_CASE("create_index tests", "[collec
         REQUIRE_THROWS_AS(coll.create_index(keys.view(), options), logic_error);
     }
 
+// Do not test wiredTiger engine on 32 bit systems
+#if ! (defined(__arm__) || defined(__i386__) || defined(__s390x__))
     SECTION("succeeds with storage engine options") {
         collection coll = db["create_index_succeeds_with_storage_options"];
         coll.drop();
@@ -2424,6 +2426,7 @@ TEST_CASE("create_index tests", "[collec
 
         find_index_and_validate(coll, index_name, validate);
     }
+#endif
 }
 
 TEST_CASE("list_indexes", "[collection]") {