Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Embedded kafka shutdown throwing exception before evaluating tests #488

Open
tomeee121 opened this issue Feb 10, 2024 · 0 comments
Open

Comments

@tomeee121
Copy link

Hey,
I would like to inform you that there is a problem with a shutdown hook of embedded kafka broker on Windows 10/MacOS. I am using Spring Boot 3.2.2, maven and Java 11 but this problem is more common than mentioned versions.
Whenever the test is fine I get the test result...but any mistake in the test logic throws exception of "process can not access file because it is being used by another one"
at C\Users\Tomek\AppData\Local\Temp\kafka-7549812390119898284\broker_0_data0\softwareskill_topic_test-0\00000000000000000000.index

Here is my test class
err

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant