You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "hanmz (via GitHub)" <gi...@apache.org> on 2025/11/20 11:45:55 UTC

[PR] [fix][test] Fix flaky EndToEndMetadataTest.testPublishConsume [pulsar]

hanmz opened a new pull request, #25002:
URL: https://github.com/apache/pulsar/pull/25002

   ### Motivation
   When executing this test case in a 16C32G Linux environment, the following error will be encountered. The problem is that Jetty requires more than 4 threads. Therefore, we cannot configure it to 4 here; instead, we must use the default value `Math.max(8, 2 * Runtime.getRuntime().availableProcessors())`
   
   <img width="2284" height="720" alt="Clipboard_Screenshot_1763638875" src="https://github.com/user-attachments/assets/195f7634-c176-4f90-b090-ccfa8f0a9f17" />
   
   
   ### Modifications 
   Use the default values ​​configured for `numHttpServerThreads`.
   
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [fix][test] Fix flaky EndToEndMetadataTest.testPublishConsume [pulsar]

Posted by "merlimat (via GitHub)" <gi...@apache.org>.
merlimat closed pull request #25002: [fix][test] Fix flaky EndToEndMetadataTest.testPublishConsume
URL: https://github.com/apache/pulsar/pull/25002


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [fix][test] Fix flaky EndToEndMetadataTest.testPublishConsume [pulsar]

Posted by "Technoboy- (via GitHub)" <gi...@apache.org>.
Technoboy- closed pull request #25002: [fix][test] Fix flaky EndToEndMetadataTest.testPublishConsume
URL: https://github.com/apache/pulsar/pull/25002


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [fix][test] Fix flaky EndToEndMetadataTest.testPublishConsume [pulsar]

Posted by "merlimat (via GitHub)" <gi...@apache.org>.
merlimat commented on PR #25002:
URL: https://github.com/apache/pulsar/pull/25002#issuecomment-6347632875

   Thanks @hanmz, and sorry this sat so long. The failure you hit was real: with Jetty 9.4, a 32-CPU host gets 4 acceptors plus a selector, which is more than the 4 configured web threads. Since #25100, master runs Jetty 12, where the connector defaults to 1 acceptor, so the budget comes to 3 of 4 threads on any core count. As @lhotari noted, we'd also rather keep the test thread count fixed than scale it with the host. I'm closing this as resolved by the Jetty 12 upgrade. If you still see "Insufficient configured threads" on current master, please reopen with the stack trace.


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org