mirror of https://github.com/apache/kafka.git
fix
This commit is contained in:
parent
c46ce30600
commit
509a0d2854
|
@ -774,6 +774,8 @@ class KafkaRequestHandlerTest {
|
||||||
assertEquals(2, brokerPool.threadPoolSize.get)
|
assertEquals(2, brokerPool.threadPoolSize.get)
|
||||||
assertEquals(6, controllerPool.threadPoolSize.get)
|
assertEquals(6, controllerPool.threadPoolSize.get)
|
||||||
assertEquals(8, KafkaRequestHandlerPool.aggregateThreads.get)
|
assertEquals(8, KafkaRequestHandlerPool.aggregateThreads.get)
|
||||||
|
|
||||||
|
// Wait for removed threads to fully exit before shutdown to avoid deadlock.
|
||||||
Thread.sleep(1000)
|
Thread.sleep(1000)
|
||||||
|
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue