python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / xapian / skip-flaky-darwin-test.patch
blobd763a2a2b434462772c80db8e75f49ba9a41d806
1 diff -Naur xapian-core.old/tests/api_db.cc xapian-core.new/tests/api_db.cc
2 --- xapian-core.old/tests/api_db.cc
3 +++ xapian-core.new/tests/api_db.cc
4 @@ -1020,6 +1020,7 @@
6 // test for keepalives
7 DEFINE_TESTCASE(keepalive1, remote) {
8 + SKIP_TEST("Fails in darwin nix build environment");
9 Xapian::Database db(get_remote_database("apitest_simpledata", 5000));
11 /* Test that keep-alives work */
12 diff -Naur xapian-core.old/tests/api_scalability.cc xapian-core.new/tests/api_scalability.cc
13 --- xapian-core.old/tests/api_scalability.cc
14 +++ xapian-core.new/tests/api_scalability.cc
15 @@ -53,6 +53,7 @@
18 DEFINE_TESTCASE(bigoaddvalue1, writable) {
19 + SKIP_TEST("Fails in darwin nix build environment");
20 // O(n*n) is bad, but O(n*log(n)) is acceptable.
21 test_scalability(bigoaddvalue1_helper, 5000, O_N_LOG_N);
22 return true;
23 diff -Naur xapian-core.old/tests/api_serialise.cc xapian-core.new/tests/api_serialise.cc
24 --- xapian-core.old/tests/api_serialise.cc
25 +++ xapian-core.new/tests/api_serialise.cc
26 @@ -110,6 +110,7 @@
28 // Test for serialising a document obtained from a database.
29 DEFINE_TESTCASE(serialise_document2, writable) {
30 + SKIP_TEST("Fails in darwin nix build environment");
31 Xapian::Document origdoc;
32 origdoc.add_term("foo", 2);
33 origdoc.add_posting("foo", 10);