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

chore: Improve integration tests #2370

Merged
merged 2 commits into from
Jan 29, 2025
Merged

Conversation

christophd
Copy link
Contributor

@christophd christophd commented Jan 27, 2025

Since Citrus 4.5.2 Camel JBang integrations should be stopped properly on all operating systems so the workaround is not needed anymore

Make tests more stable with separate Http server instances

- Avoid to use the very same Http server instance for multiple tests
- Avoid racing conditions where Http requests are sent by the Camel JBang process after the test has finished
- Introduce individual Http server instances for the tests (jiraServer, slackServer, petstoreServer, httpServer)
- Better separation of tests due to individual server ports
@christophd christophd changed the title chore: Remove obsolete workaround chore: Improve integration tests Jan 29, 2025
@oscerd oscerd merged commit bd74f5a into apache:main Jan 29, 2025
5 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