-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update testng to 7.3.0 #21992
update testng to 7.3.0 #21992
Conversation
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a major version upgrade on testng.
testng is deeply used for running all integration tests. If we are upgrading testng version we should run the full test CI and make sure we have a clean Ci result. before merging.
@@ -128,7 +128,7 @@ Licensed under the MIT License. | |||
<dependency> | |||
<groupId>org.testng</groupId> | |||
<artifactId>testng</artifactId> | |||
<version>6.14.3</version> <!-- {x-version-update;org.testng:testng;external_dependency} --> | |||
<version>7.4.0</version> <!-- {x-version-update;org.testng:testng;external_dependency} --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a major version upgrade on testng.
testng is deeply used for running all integration tests. If we are upgrading testng version we should run the full test CI and make sure we have a clean Ci result. before merging.
|
||
@Retention(java.lang.annotation.RetentionPolicy.RUNTIME) | ||
@Target({METHOD}) | ||
@interface Tag { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is this used ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in the changeFeedTest.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Test(groups = { "emulator" }, enabled = false, timeOut = TIMEOUT)
@Tag(name = "EnableFullFidelity")
public void changeFeed_fullFidelity_fromNow() throws Exception {
changeFeed_withUpdatesAndDelete(true);
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM - thanks
/azp run java - cosmos - tests |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. thanks
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run java - cosmos - tests |
Azure Pipelines successfully started running 1 pipeline(s). |
/check-enforcer override |
Fix issue: #21777
The JCommander:1.72 is a dependency for org.testng:testing:6.14.3: https://mvnrepository.com/artifact/org.testng/testng/6.14.3
Testing 7.3 and Testing 7.4 both have dependency on JCommander 1.78. But can not upgrade to 7.4 for now, because of bug in testing 7.4:
https://github.com/cbeust/testng/blob/master/CHANGES.txt
Fixed: GITHUB-2493: Avoid NPE from TextReporter execution when a dataprovider method provides null
Also need to update to use https to load testing did due to:testng-team/testng#2023
Note: After upgrading to 7.3, you might experience the following exception when running tests with Intellij: "TestNG by default disables loading DTD from unsecure Urls".
Two ways to solve this issue: