Skip to content

[improve][test] Bump TestNG to 7.6.1 - #18521

Merged
tisonkun merged 1 commit into
apache:masterfrom
nodece:bump-testng-7.5.0
Nov 18, 2022
Merged

tisonkun merged 1 commit into
apache:masterfrom
nodece:bump-testng-7.5.0

Conversation

@nodece

@nodece nodece commented Nov 17, 2022 •

Copy link
Copy Markdown
Member

Motivation

Bump TestNG to 7.6.1

Modifications

  • Bump TestNG to 7.6.1
  • Fix build

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: nodece#14

@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Nov 17, 2022
@nodece nodece added this to the 2.12.0 milestone Nov 17, 2022
@nodece

nodece commented Nov 17, 2022

Copy link
Copy Markdown
Member Author

/pulsarbot rerun-failure-checks

@nodece nodece changed the title [improve][test] Bump TestNg to 7.5 [improve][test] Bump TestNG to 7.5 Nov 17, 2022

@tisonkun tisonkun 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.

Comments inline.

Comment on lines +111 to +115
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest</artifactId>
<scope>test</scope>
</dependency>

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.

Interesting. Why do we need this dependency explicitly now?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I don't know why ~, maybe the old testNG includes this library?

Comment thread pom.xml Outdated
<docker-java.version>3.2.13</docker-java.version>
<kerby.version>1.1.1</kerby.version>
<testng.version>7.3.0</testng.version>
<testng.version>7.5</testng.version>

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.

I learn the latest version is 7.6.1. Why do we use 7.5 here? Also, 7.5 is not of a full semantic version format.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

7.6.1 requires JDK 11 or higher. The Pulsar-CI have a JDK 8 test.

@tisonkun tisonkun 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.

+1 as long as no regression.

@Technoboy- Technoboy- added the area/dependency Pull requests that update a dependency file label Nov 18, 2022
@nodece

nodece commented Nov 18, 2022

Copy link
Copy Markdown
Member Author

Try to bump TestNG to 7.6.1.

@nodece
nodece marked this pull request as draft November 18, 2022 03:53
@nodece nodece changed the title [improve][test] Bump TestNG to 7.5 [improve][test] Bump TestNG to 7.6.1 Nov 18, 2022
@nodece
nodece marked this pull request as ready for review November 18, 2022 10:27
@nodece
nodece requested a review from tisonkun November 18, 2022 10:27
@codecov-commenter

codecov-commenter commented Nov 18, 2022 •

Copy link
Copy Markdown

Codecov Report

Merging #18521 (86c60bb) into master (7975023) will decrease coverage by 0.33%.
The diff coverage is 59.37%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #18521      +/-   ##
============================================
- Coverage     45.62%   45.28%   -0.34%     
- Complexity    10075    10693     +618     
============================================
  Files           697      757      +60     
  Lines         68024    72781    +4757     
  Branches       7293     7817     +524     
============================================
+ Hits          31033    32961    +1928     
- Misses        33413    36154    +2741     
- Partials       3578     3666      +88     
Flag Coverage Δ
unittests 45.28% <59.37%> (-0.34%) ⬇️

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

Impacted Files Coverage Δ
...nt/impl/PulsarClientImplementationBindingImpl.java 72.41% <ø> (-0.47%) ⬇️
...ar/client/impl/conf/ConsumerConfigurationData.java 92.55% <ø> (+2.12%) ⬆️
...he/pulsar/client/impl/TypedMessageBuilderImpl.java 30.76% <59.37%> (+3.56%) ⬆️
...he/pulsar/client/impl/PartitionedProducerImpl.java 30.34% <0.00%> (-5.13%) ⬇️
...apache/pulsar/client/impl/AutoClusterFailover.java 73.33% <0.00%> (-2.78%) ⬇️
...sar/broker/service/schema/SchemaRegistryStats.java 72.50% <0.00%> (-2.50%) ⬇️
...roker/loadbalance/impl/ModularLoadManagerImpl.java 64.38% <0.00%> (-1.34%) ⬇️
...va/org/apache/pulsar/client/impl/ProducerImpl.java 15.84% <0.00%> (-1.17%) ⬇️
...rg/apache/pulsar/broker/web/PulsarWebResource.java 57.36% <0.00%> (-0.94%) ⬇️
.../pulsar/client/impl/ProducerStatsRecorderImpl.java 84.04% <0.00%> (-0.62%) ⬇️
... and 129 more

@tisonkun

Copy link
Copy Markdown
Member

All tests passed. Merging...

@tisonkun
tisonkun merged commit 8b404d4 into apache:master Nov 18, 2022
lifepuzzlefun pushed a commit to lifepuzzlefun/pulsar that referenced this pull request Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/dependency Pull requests that update a dependency file area/test doc-not-needed Your PR changes do not impact docs ready-to-test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants