tests/thread_pool: remove extraneous test
b5692081e removed "fast" and "slow" accessors of the current thread ID,
instead exposing just a single (library; that is, sentry-mediated) call
into the switcher.
diff --git a/tests/thread_pool-test.cc b/tests/thread_pool-test.cc
index 00377b3..9aaf861 100644
--- a/tests/thread_pool-test.cc
+++ b/tests/thread_pool-test.cc
@@ -85,13 +85,8 @@
free(heapInt);
async([]() {
- auto fast = thread_id_get();
- auto slow = thread_id_get();
- TEST(fast == slow,
- "Thread ID is different in fast ({}) and slow ({}) accessors",
- fast,
- slow);
- TEST(fast != 1, "Thread ID for thread pool thread should not be 1");
+ TEST(thread_id_get() != 1,
+ "Thread ID for thread pool thread should not be 1");
});
CHERI::Capability<void> mainThread{switcher_current_thread()};