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
nullify server object on shutdown #66
nullify server object on shutdown #66
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx for the PR @nate-nutmeg!
Can we add two more tests showing that
- a flow of
start
,stop
andstart
will provide access to the same schemata in case the Kafka cluster is not cleaned it up - a flow of
start
,stop
andstart
will not provide access to the same schemata in case the Kafka cluster is cleaned it up
I am not sure about I feel that we might be testing more than Similarily with the next test. Testing that we can't access schemas after deleting the The last test I will leave it up to you if you want to keep the test |
@nate-nutmeg I think we are not testing the Schema Registry source code, but we are testing that we don't do anything more than starting or stopping the server when calling Let's fix the compilation issue and then it is good to go! 🚀 Thx again for the contribution! ☺ |
Code Climate has analyzed commit 3d8551d and detected 0 issues on this pull request. View more on Code Climate. |
The issue with Sonarcloud cannot be solved. I tried multiple solutions suggested in a couple of Stackoverflow, but no luck. Regression testing, example tests and tests on the main code are working. I'll take the "risk" to merge into master without Sonarcloud passing. Thx @nate-nutmeg for your contribution. |
Nulls the server on shutdown to allow future tests to create a new server instance.
Checklist