-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fixed do_kafka_test.sh
script
#28
Conversation
…petitive behavior.
…to the `standalone.sh` script.
…time to be ready.
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.
This looks good to me
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.
Looking good, just a couple comments
@dmccoystephenson the |
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.
Tests currently failing - maybe I missed a step somewhere?
The tests fail sometimes when data cannot be verified to be consumed from the kafka cluster. I have found that the tests are more likely to pass after a fresh restart of the host computer. It's possible that some background processing with docker is causing the issue (which would explain why a restart would help). I'll see if I can reproduce the fail case and identify what the problem is. |
Tests pass for me. I am running I will continue to experiment until the tests fail and then investigate further. |
Compilation was failing when using Ubuntu 20.04 as the base image. After switching back to using Ubuntu 18.04, the tests are passing again. |
…ut to the kafka-topics.sh script.
These changes have been re-deployed to our dev cluster and data has been verified to still be flowing. |
…topic creation check.
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.
Looks like the tests are not able to consume any of the produced messages. Not sure if this is a timing issue or something else. Definitely needs some more investigation.
Sync Master branch to develop
… PPM logs is above 100 instead of waiting a fixed amount of time for PPM readiness.
I suspect that the Please let me know if you run into more issues @drewjj |
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.
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.
The test script works great now. I hadn't fully updated my local repository before.
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.
Self-review
…`standalone-multi.sh`
…`do_kafka_test.sh`
…script calls in `do_bsm_test.sh` & `do_tim_test.sh`
Changes
The
do_kafka_test.sh
was created six years ago, but it was discovered last year that it was not functioning properly due to inconsistencies in container name references and issues with dependent scripts.The script has been refactored and thoroughly tested to ensure its functionality when executed in WSL.
Additional Changes
do_kafka_test.sh
do_kafka_test.sh
,do_bsm_test.sh
anddo_tim_test.sh
scripts.standalone.sh
andstandalone-multi.sh
scripts have been refactored.do_kafka_test.sh
script to run.docker-compose-kafka.yml
file has been added for testing purposes.Testing
These changes have been verified to be working when the script is run locally in WSL.