From aac866f39923670d9c136851f866531f5f6cd889 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Sun, 6 Jul 2025 16:19:51 +0200 Subject: [PATCH] test: skip slow process title test on asan+macos (#4825) uv_set_process_title loads and unloads a bunch of dynamic libraries, and that's quite slow and prone to time out when running concurrently under AddressSanitizer. --- test/test-process-title-threadsafe.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/test/test-process-title-threadsafe.c b/test/test-process-title-threadsafe.c index daa13b8cc..212c715a3 100644 --- a/test/test-process-title-threadsafe.c +++ b/test/test-process-title-threadsafe.c @@ -89,6 +89,14 @@ TEST_IMPL(process_title_threadsafe) { RETURN_SKIP("uv_(get|set)_process_title is not implemented."); #endif +#if defined(__ASAN__) && defined(__APPLE__) + /* uv_set_process_title loads and unloads a bunch of dynamic libraries, + * and that's quite slow and prone to time out when running concurrently + * under AddressSanitizer. + */ + RETURN_SKIP("too slow under ASAN"); +#endif + ASSERT_OK(uv_set_process_title(titles[0])); ASSERT_OK(uv_sem_init(&getter_sem, 0));