Caideyipi opened a new pull request, #18773:
URL: https://github.com/apache/iotdb/pull/18773

   ## Description
   
   `testHeartbeatExecutorIsBounded` assumed the shared heartbeat executor had 
its full capacity available to the test. Concurrent heartbeat tasks can consume 
a slot, causing `submitProviderHeartbeat` to return `null` before the test 
finishes filling the executor. The cleanup loop then dereferences that `null` 
future.
   
   Submit blocking tasks until the executor rejects one, retain only accepted 
futures, and verify rejection occurs within the configured thread and queue 
capacity.
   
   ## Tests
   
   - `mvn spotless:apply -pl iotdb-client/subscription`
   - `mvn -pl iotdb-client/subscription 
-Dtest=SubscriptionConsumerHeartbeatIsolationTest test`


-- 
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]

Reply via email to