diff --git a/userspace/libsinsp/test/mpsc_priority_queue.ut.cpp b/userspace/libsinsp/test/mpsc_priority_queue.ut.cpp index ba9552c351..b0c59fb953 100644 --- a/userspace/libsinsp/test/mpsc_priority_queue.ut.cpp +++ b/userspace/libsinsp/test/mpsc_priority_queue.ut.cpp @@ -116,6 +116,8 @@ TEST(mpsc_priority_queue, single_concurrent_producer) ASSERT_EQ(failed, 0); } +#if defined(__x86_64__) + TEST(mpsc_priority_queue, multi_concurrent_producers) { using val_t = std::unique_ptr; @@ -202,4 +204,6 @@ TEST(mpsc_priority_queue, multi_concurrent_producers) ASSERT_EQ(failed, 0) << "received " << failed << " elements out of order"; } +#endif // __x86_64__ + #endif // __EMSCRIPTEN__