From a3b7dfcfca285aee530caf5511cbe16c3a4b43cf Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 19 Jan 2023 14:09:15 +0100 Subject: [PATCH] test: cond-skip tcp_writealot Too slow to run under ThreadSanitizer. Refs: https://github.com/libuv/libuv/issues/3681 --- test/test-tcp-writealot.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test-tcp-writealot.c b/test/test-tcp-writealot.c index 40dce96e..382c2712 100644 --- a/test/test-tcp-writealot.c +++ b/test/test-tcp-writealot.c @@ -149,6 +149,10 @@ TEST_IMPL(tcp_writealot) { uv_tcp_t client; int r; +#ifdef __TSAN__ + RETURN_SKIP("Test is too slow to run under ThreadSanitizer"); +#endif + ASSERT(0 == uv_ip4_addr("127.0.0.1", TEST_PORT, &addr)); send_buffer = calloc(1, TOTAL_BYTES);