Skip to content

Conversation

@artur-ciocanu
Copy link
Contributor

Description

Currently we have some very low level way to wait for Dapr container, we are relying on Wait.forLogMessage(...) it is OK, but it is not Dapr specific and could be brittle. The purpose of this PR is to add DaprWait that can wait for Dapr specific components to be up and running.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: N/A

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@artur-ciocanu artur-ciocanu requested review from a team as code owners December 23, 2025 22:16
@artur-ciocanu
Copy link
Contributor Author

@dapr/maintainers-java-sdk @dapr/approvers-java-sdk could you please take a look at this PR. It adds a few primitives to Dapr Testcontainers so it is easier and more reliable to add integration tests using Testconainers.

@javier-aliaga please also take a look. Thank you!

@codecov
Copy link

codecov bot commented Dec 24, 2025

Codecov Report

❌ Patch coverage is 82.75862% with 25 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.75%. Comparing base (d759c53) to head (e5ca5f6).
⚠️ Report is 243 commits behind head on master.

Files with missing lines Patch % Lines
...ainers/wait/strategy/AbstractDaprWaitStrategy.java 27.27% 24 Missing ⚠️
...estcontainers/wait/strategy/ActorWaitStrategy.java 94.44% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1609      +/-   ##
============================================
+ Coverage     76.91%   78.75%   +1.84%     
- Complexity     1592     2035     +443     
============================================
  Files           145      225      +80     
  Lines          4843     6115    +1272     
  Branches        562      669     +107     
============================================
+ Hits           3725     4816    +1091     
- Misses          821      958     +137     
- Partials        297      341      +44     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant