test: cond-skip fork_threadpool_queue_work_simple
Skip the test when ThreadSanitizer is active because the latter doesn't support forking in multi-threaded processes. Refs: https://github.com/libuv/libuv/issues/3681
This commit is contained in:
parent
f328457cb1
commit
c58cd28279
@ -646,6 +646,10 @@ TEST_IMPL(fork_threadpool_queue_work_simple) {
|
||||
pid_t child_pid;
|
||||
uv_loop_t loop;
|
||||
|
||||
#ifdef __TSAN__
|
||||
RETURN_SKIP("ThreadSanitizer doesn't support multi-threaded fork");
|
||||
#endif
|
||||
|
||||
/* Prime the pool and default loop. */
|
||||
assert_run_work(uv_default_loop());
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user