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

fix flaky LockingIT #195

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

fix flaky LockingIT #195

wants to merge 1 commit into from

Conversation

ePaul
Copy link
Member

@ePaul ePaul commented Nov 8, 2024

For me, LockingIT was always failing, while it worked for others. It was likely depending on the order of tests.
It seems like the evenTransmitter.sendEvents() + nakadiClient.clearSentEvents() alone doesn't properly manage to clear the event log left from other tests. Clearing the database table directly seems to work.

This is already part of #190, but this makes it available for master (and therefore for the non-spring-boot-3 builds).

@ePaul ePaul added spring-boot-2 Issues/PRs which only apply to the Spring-Boot 2 versions (Releases 20.*+) tests only changes test code, not the actual library bugfix labels Nov 8, 2024
@ePaul ePaul requested a review from fbrns as a code owner November 8, 2024 14:04
@ePaul ePaul added bugfix and removed bugfix labels Nov 8, 2024
@ePaul
Copy link
Member Author

ePaul commented Nov 8, 2024

👍

@ePaul ePaul changed the title Attempt to fix flaky test fix flaky LockingIT Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix spring-boot-2 Issues/PRs which only apply to the Spring-Boot 2 versions (Releases 20.*+) tests only changes test code, not the actual library
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant