Skip to content

[improve][test] Add integration tests for TLS - #17141

Merged
codelipenghui merged 1 commit into
apache:masterfrom
nodece:add-tls-integration-tests
Oct 25, 2022
Merged

codelipenghui merged 1 commit into
apache:masterfrom
nodece:add-tls-integration-tests

Conversation

@nodece

@nodece nodece commented Aug 17, 2022 •

Copy link
Copy Markdown
Member

Signed-off-by: Zixuan Liu [email protected]

Motivation

Add integration tests for TLS.

Modifications

  • Add integration tests for TLS
  • Add TLS config for broker and proxy
  • Refactor how to get broker URL and web URL

Documentation

Check the box below or label this PR directly.

Need to update docs?

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

@nodece
nodece force-pushed the add-tls-integration-tests branch from 07dc9eb to eb6035b Compare August 23, 2022 09:31
@nodece

nodece commented Aug 24, 2022

Copy link
Copy Markdown
Member Author

/pulsarbot rerun-failure-checks

@nodece
nodece force-pushed the add-tls-integration-tests branch from eb6035b to 8d94250 Compare August 24, 2022 16:01
@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Aug 26, 2022
@nodece nodece mentioned this pull request Aug 27, 2022
1 of 4 tasks
@codelipenghui

Copy link
Copy Markdown
Contributor

@nodece I think you forget to add the test to CI.

@codelipenghui codelipenghui mentioned this pull request Sep 16, 2022
10 tasks done
@lin-zhao

Copy link
Copy Markdown
Contributor

Any update on this PR?

@nodece

nodece commented Sep 29, 2022 •

Copy link
Copy Markdown
Member Author

@lin-zhao This PR is blocked by #17426.

@michaeljmarshall

Copy link
Copy Markdown
Member

I just reviewed and merged #17426.

@nodece
nodece force-pushed the add-tls-integration-tests branch 2 times, most recently from 0e163ed to c40af62 Compare September 30, 2022 04:46
@nodece nodece added this to the 2.11.0 milestone Oct 14, 2022
@nodece
nodece force-pushed the add-tls-integration-tests branch from a69a80b to 977d018 Compare October 17, 2022 15:14
@nodece
nodece force-pushed the add-tls-integration-tests branch 4 times, most recently from 73c755b to 286d9a0 Compare October 18, 2022 15:30

@michaeljmarshall michaeljmarshall left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter

codecov-commenter commented Oct 19, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #17141 (12a2ea2) into master (6c65ca0) will increase coverage by 14.83%.
The diff coverage is 73.91%.

Impacted file tree graph

@@              Coverage Diff              @@
##             master   #17141       +/-   ##
=============================================
+ Coverage     34.91%   49.74%   +14.83%     
- Complexity     5707     6986     +1279     
=============================================
  Files           607      393      -214     
  Lines         53396    43484     -9912     
  Branches       5712     4471     -1241     
=============================================
+ Hits          18644    21633     +2989     
+ Misses        32119    19433    -12686     
+ Partials       2633     2418      -215     
Flag Coverage Δ
unittests 49.74% <73.91%> (+14.83%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
.../service/SystemTopicBasedTopicPoliciesService.java 62.97% <0.00%> (+11.38%) ⬆️
.../pulsar/broker/stats/BrokerOperabilityMetrics.java 98.21% <ø> (+5.56%) ⬆️
...g/apache/pulsar/compaction/CompactedTopicImpl.java 69.28% <0.00%> (+58.57%) ⬆️
.../org/apache/pulsar/broker/admin/v2/Namespaces.java 54.72% <50.00%> (+46.69%) ⬆️
...apache/pulsar/proxy/server/DirectProxyHandler.java 63.63% <50.00%> (ø)
...broker/delayed/InMemoryDelayedDeliveryTracker.java 65.00% <75.00%> (+65.00%) ⬆️
...n/java/org/apache/pulsar/broker/PulsarService.java 57.88% <100.00%> (+3.55%) ⬆️
...pulsar/broker/admin/impl/PersistentTopicsBase.java 51.51% <100.00%> (+40.11%) ⬆️
...rg/apache/pulsar/broker/service/BrokerService.java 57.82% <100.00%> (+9.82%) ⬆️
...ion/pendingack/impl/MLPendingAckStoreProvider.java 70.00% <100.00%> (+2.53%) ⬆️
... and 366 more

@nodece

nodece commented Oct 19, 2022

Copy link
Copy Markdown
Member Author

/pulsarbot rerun-failure-checks

@nodece

nodece commented Oct 20, 2022 •

Copy link
Copy Markdown
Member Author

This PR is blocked by Pulsar CI / CI - System - Sql (pull_request) .

Fixed.

@nodece
nodece force-pushed the add-tls-integration-tests branch from 246b085 to 9eef52e Compare October 21, 2022 08:34
@nodece
nodece force-pushed the add-tls-integration-tests branch from 9eef52e to 12a2ea2 Compare October 21, 2022 09:30
@codelipenghui
codelipenghui merged commit f63356c into apache:master Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/security area/test doc-not-needed Your PR changes do not impact docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants