You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Blockhound is used with EmbeddedKafka for unit test, Kafka won't terminate after the test is completed. If Blockhound is disabled, no problem in running tests.
Expected Behavior
After tests are completed, embedded Kafka should be terminated.
Actual Behavior
After tests are completed, embedded Kafka is not terminated. So other tests are not running and the system is waiting for Kafka to stop.
So, I have difficulties to reproduce this issue;
I'm using this project which is similar to your use case.
I have modified the pom.xml in order to add a dependency on bockhound 1.0.6.RELEASE, then I changed the SpringBootEmbeddedKafka class in order to install BlockHound from SpringBootEmbeddedKafka.setUpClass() method.
and using JDK 11, it seems to work well for me.
if you still want this issue to be investigated, please try to update the above sample code, and try to reproduce.
When
Blockhound
is used withEmbeddedKafka
for unit test, Kafka won't terminate after the test is completed. IfBlockhound
is disabled, no problem in running tests.Expected Behavior
After tests are completed, embedded Kafka should be terminated.
Actual Behavior
After tests are completed, embedded Kafka is not terminated. So other tests are not running and the system is waiting for Kafka to stop.
Steps to Reproduce
Your Environment
JDK11
2.4.2
1.0.4.RELEASE
2.5.6.RELEASE
The text was updated successfully, but these errors were encountered: