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

sink/kafka: sort topic config map keys for consistent SQL generation #677

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

bobbyiliev
Copy link
Contributor

Fix intermittent test failures by sorting map keys before generating SQL statement. Go maps have arbitrary iteration order, which caused test failures when topic config map entries appeared in different orders.

Fixes #676

@bobbyiliev bobbyiliev requested a review from a team as a code owner November 29, 2024 10:42
@bobbyiliev bobbyiliev requested review from SangJunBak and def- and removed request for a team November 29, 2024 10:42
@bobbyiliev bobbyiliev merged commit ab812df into main Nov 29, 2024
4 checks passed
@bobbyiliev bobbyiliev deleted the fix-failing-sink-unit-test branch November 29, 2024 10:54
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.

Intermittent Failure in TestSinkKafkaTopicOptionsCreate unit test
2 participants