Repository navigation
[Backport release-1.19] test: use a free port in the pubsub integration tests - #1847
Merged
Merged
Conversation
DaprPubSubIT and DaprPubSubOutboxIT picked a random port between 8000 and 8999. DaprSpringMessagingIT runs Spring Boot on 8080 in the same JVM and its cached context keeps the port open, so DaprPubSubIT fails with "Port 8080 is already in use" when it draws 8080. Ask the OS for a free port with the existing DaprContainerFactory.allocateFreePort() instead. Signed-off-by: Javier Aliaga <javier@diagrid.io> (cherry picked from commit ae3d3a5)
siri-varma
approved these changes
Oct 15, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release-1.19 #1847 +/- ##
===============================================
Coverage 79.54% 79.54%
Complexity 2676 2676
===============================================
Files 267 267
Lines 7933 7933
Branches 842 842
===============================================
Hits 6310 6310
Misses 1267 1267
Partials 356 356 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport ae3d3a5 from #1845.