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

Updated do_kafka_test.sh script #30

Merged
merged 14 commits into from
Sep 5, 2024

Conversation

dmccoystephenson
Copy link
Member

Problem

The do_kafka_test.sh script does not currently work and relies on hard-coded values for Kafka & ACM interaction.

Solution

The do_kafka_test.sh script and its dependencies have been updated & verified to be working. The DOCKER_HOST_IP is now resolved automatically and ACM docker values are explicitly set. Out of the 7 test cases the script previously ran, 4 were removed that dealt with encoding raw BSMs. The remaining test cases are centered on structures like Ieee1609Dot2Data and AdvisorySituationData that contain HEX-encoded BSMs.

Testing

Running do_kafka_test.sh in WSL results in all tests passing at this time.

image

Looking Forward

We may want to consider opening a work item to expand the test cases for this script.

Dependent PR

This scripts/update-do-kafka-test-script branch was created using kafka/create-encoder-topics as a base, the PR for which should be merged first:
#29

@dmccoystephenson dmccoystephenson marked this pull request as draft June 24, 2024 18:06
@dmccoystephenson dmccoystephenson marked this pull request as ready for review July 9, 2024 23:17
Copy link

@Michael7371 Michael7371 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good changes, tests all pass for me!

Copy link

@mwodahl mwodahl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This worked for me!

@dmccoystephenson dmccoystephenson merged commit c857c69 into develop Sep 5, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

3 participants