Loading...
tests/memory_pressure.c libmalloc-374.40.6 libmalloc-374.120.1
--- libmalloc/libmalloc-374.40.6/tests/memory_pressure.c
+++ libmalloc/libmalloc-374.120.1/tests/memory_pressure.c
@@ -77,6 +77,12 @@
 	T_PASS("didn't crash");
 }
 
+// Disabled until rdar://83904507 is fixed
+//
+// Need to compile the test out entirely because T_META_MAYFAIL doesn't handle
+// test crashes - rdar://86164532
+#if 0
+
 T_DECL(medium_mem_pressure, "medium memory pressure thread",
 #if TARGET_OS_WATCH
 		T_META_TIMEOUT(TEST_TIMEOUT),
@@ -85,6 +91,7 @@
 		T_META_ENVVAR("MallocScribble=1"),
 		T_META_ENVVAR("MallocSpaceEfficient=1"),
 		T_META_ENVVAR("MallocMaxMagazines=1"),
+		T_META_MAYFAIL("Disabled until rdar://83904507 is fixed"),
 		T_META_CHECK_LEAKS(false))
 {
 	dispatch_queue_t q = dispatch_queue_create("pressure queue", 0); // serial
@@ -97,6 +104,8 @@
 	stress(64*1024, 1000);
 	T_PASS("didn't crash");
 }
+
+#endif
 
 T_DECL(tiny_mem_pressure_multi, "test memory pressure in tiny on threads",
 #if TARGET_OS_WATCH