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:
parent
3d12a590c1
commit
aac866f399
@ -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));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user