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

Tests: use pulsar server in docker #120

Merged
merged 11 commits into from
Apr 9, 2024
Merged

Tests: use pulsar server in docker #120

merged 11 commits into from
Apr 9, 2024

Conversation

nicoloboschi
Copy link
Contributor

@nicoloboschi nicoloboschi commented Apr 9, 2024

CI was failing with timeouts. At some point tests are stuck in consuming messages that never arrive.
The culprit might be the JVM not keeping up in running both Pulsar service and the tests.

In this solution I move out the Pulsar broker to a docker container using testcontainers to isolate resource usage and help debugging

Copy link
Collaborator

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

Overall LGTM

I have left some minor comments

@eolivelli eolivelli changed the title tests: use pulsar server in docker Tests: use pulsar server in docker Apr 9, 2024
Copy link
Collaborator

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

LGTM

@nicoloboschi nicoloboschi merged commit 04f136d into master Apr 9, 2024
1 of 3 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.

2 participants