From 930a701f1f9986baeb0959670265f6c9dd7b97cf Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Tue, 26 Feb 2019 22:15:34 -0800 Subject: [PATCH] tests: Disable flaky test This test is very sensitive to the particular implementation of union aggregation; for now lets disable this. We need a more robust way to test union allocation failures. --- tests/test_xpath.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_xpath.cpp b/tests/test_xpath.cpp index bc91c68..5cafb47 100644 --- a/tests/test_xpath.cpp +++ b/tests/test_xpath.cpp @@ -449,6 +449,7 @@ TEST(xpath_out_of_memory_evaluate_substring) CHECK_ALLOC_FAIL(CHECK(q.evaluate_string(0, 0, xml_node()) == 1)); } +/* TEST_XML(xpath_out_of_memory_evaluate_union, "") { test_runner::_memory_fail_threshold = 32768 + 4096 * 2; @@ -457,6 +458,7 @@ TEST_XML(xpath_out_of_memory_evaluate_union, " CHECK_ALLOC_FAIL(CHECK(q.evaluate_node_set(doc.child(STR("node"))).empty())); } +*/ TEST_XML(xpath_out_of_memory_evaluate_predicate, "") {