diff --git a/test/test-thread-priority.c b/test/test-thread-priority.c index f1e4f9a70..acc338551 100644 --- a/test/test-thread-priority.c +++ b/test/test-thread-priority.c @@ -88,8 +88,6 @@ TEST_IMPL(thread_priority) { * test set nice value for the calling thread with default schedule policy */ #ifdef __linux__ - ASSERT_OK(uv_thread_getpriority(pthread_self(), &priority)); - ASSERT_EQ(priority, 0); ASSERT_OK(uv_thread_setpriority(pthread_self(), UV_THREAD_PRIORITY_LOWEST)); ASSERT_OK(uv_thread_getpriority(pthread_self(), &priority)); ASSERT_EQ(priority, (0 - UV_THREAD_PRIORITY_LOWEST * 2)); @@ -108,4 +106,4 @@ TEST_IMPL(thread_priority) { #endif return 0; -} \ No newline at end of file +}