Caideyipi opened a new pull request, #18013: URL: https://github.com/apache/iotdb/pull/18013
## Description This PR fixes a flaky assertion in MultilevelPriorityQueueTest#testPollBlocked by replacing fixed sleeps with Awaitility polling when checking the worker thread state. This follows the existing pattern used by L2PriorityQueueTest#testPollBlocked and avoids sampling the thread state before the polling thread has actually entered WAITING. ## Verification - mvn spotless:apply -pl iotdb-core/datanode - git diff --check The targeted test command could not reach surefire locally because datanode compilation fails first on unrelated generated/parser errors. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
