will-sh opened a new pull request, #5903:
URL: https://github.com/apache/ozone/pull/5903

   ## What changes were proposed in this pull request?
   HDDS-9836. Migrate simple recon integration tests to JUnit5
   
   - Updated test annotations @Before, @After, @BeforeClass, @AfterClass, 
@Timeout with JUnit 5 equivalents.
   - Replaced JUnit 4 assert methods and Timeout rule with JUnit 5 equivalents.
   - Modified imported classes for JUnit 5 compatibility.
   - Affected files:
     - TestReconScmHASnapshot.java
     - TestReconScmSnapshot.java
     - TestReconWithOzoneManagerFSO.java
     - TestReconWithOzoneManagerHA.java
   - According to the description in 
https://issues.apache.org/jira/browse/HDDS-9836, one more class 
TestReconWithOzoneManager.java is also needed to change, but it is already 
migrated to JUnit 5, so it is skipped in this PR. 
   - These changes ensure compatibility with JUnit 5 and leverage its updated 
testing features. 
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-9836
   
   ## How was this patch tested?
   All the modified tests are passed locally with below mvn command:
   `mvn -Dskip.installnpm -Dskip.installnpx -Dskip.installyarn -Dskip.npm 
-Dskip.npx -Dskip.yarn -DskipShade -am -pl :ozone-integration-test clean test 
-Dtest="TestRecon.*"`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to