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.
This commit is contained in:
Ben Noordhuis 2025-07-06 16:19:51 +02:00 committed by GitHub
parent 3d12a590c1
commit aac866f399
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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));