pulsar
pulsar copied to clipboard
[fix][test] Fix flaky EndToEndMetadataTest.testPublishConsume
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())
Modifications
Use the default values configured for numHttpServerThreads.
Documentation
- [ ]
doc - [ ]
doc-required - [x]
doc-not-needed - [ ]
doc-complete