Skip to content

remove unused DurableTaskGrpcClientTlsTest and clean up NetworkUtilsTest - #1812

Merged
dapr-bot merged 1 commit into
dapr:masterfrom
matheusandre1:issue1364
Sep 24, 2026
Merged

dapr-bot merged 1 commit into
dapr:masterfrom
matheusandre1:issue1364

Conversation

@matheusandre1

Copy link
Copy Markdown
Contributor

Description

Cleans up the remaining items from #1364. The Bouncy Castle test dependencies (bcprov-jdk15on / bcpkix-jdk15on) were already removed in #1529, which also switched the TLS tests to static certificates under sdk/src/test/resources/certs/. This PR removes what was left over:

  • Removed durabletask-client/src/test/java/io/dapr/durabletask/DurableTaskGrpcClientTlsTest.java: the file was fully commented out and was the last place that referenced Bouncy Castle and generated certificates at runtime. Testing certificate generation is outside the SDK's scope.
  • Removed sdk/src/test/resources/certs/test-ca-cert.key: no test used this private key (the CA tests only need test-ca-cert.pem).
  • Cleaned up NetworkUtilsTest:
    • Removed the static List<ManagedChannel> channels and the @AfterAll tearDownAll() method. Each test builds a single channel, which the existing @AfterEach already shuts down, so the list served no purpose.
    • Removed the channels.add(channel) calls, the imports that became unused, and an outdated comment.

Issue reference

Fixes: #1364

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

Signed-off-by: Matheus André <matheusandr2@gmail.com>
@matheusandre1
matheusandre1 marked this pull request as ready for review September 23, 2026 18:28
@matheusandre1
matheusandre1 requested review from a team as code owners September 23, 2026 18:28
@codecov

codecov Bot commented Sep 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.84%. Comparing base (e02cee2) to head (dd2929d).

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1812   +/-   ##
=========================================
  Coverage     78.84%   78.84%           
  Complexity     2561     2561           
=========================================
  Files           261      261           
  Lines          7713     7713           
  Branches        806      806           
=========================================
  Hits           6081     6081           
  Misses         1269     1269           
  Partials        363      363           

☔ View full report in Codecov by Harness.
📢 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.

@dapr-bot
dapr-bot merged commit 6637bbe into dapr:master Sep 24, 2026
13 checks passed
@matheusandre1
matheusandre1 deleted the issue1364 branch September 24, 2026 00:36
@nelson-parente nelson-parente added this to the v1.19 milestone Oct 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove dependencies and tests that are not needed for CA / SSL

4 participants