Skip to content

Conversation

@SimonHeybrock
Copy link
Member

Also fix some small bugs in Kafka adapters, which ignored the stream_lut.

@github-project-automation github-project-automation bot moved this to In progress in Development Board Apr 7, 2025
@SimonHeybrock SimonHeybrock moved this from In progress to Selected in Development Board Apr 7, 2025

assert len(self.fake_logger.exception_calls) == 1
assert (
"error adapting message" in self.fake_logger.exception_calls[0][0].lower()
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"error adapting message" in self.fake_logger.exception_calls[0][0].lower()
"error adapting message" in self.fake_logger.exception_calls[-1][0].lower()

Should we rather use [-1] index because it should be the latest one?
Also it won't break even if we insert more log related tests above.

Copy link
Member

Choose a reason for hiding this comment

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

Ah sorry now I understood. The fake logger is set up before every method. Feel free to ignore this suggestion.

@SimonHeybrock SimonHeybrock merged commit 849d246 into isolate-from-upstream-topic-source-name Apr 7, 2025
4 checks passed
@SimonHeybrock SimonHeybrock deleted the adapter-tests branch April 7, 2025 10:36
@github-project-automation github-project-automation bot moved this from Selected to Done in Development Board Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants