szetszwo opened a new pull request, #1228:
URL: https://github.com/apache/ratis/pull/1228

   ## What changes were proposed in this pull request?
   
   Update JUnitRunListener with junit 5.
   
   ## What is the link to the Apache JIRA
   
   RATIS-2252
   
   Please replace this section with the link to the Apache JIRA)
   
   ## How was this patch tested?
   
   Tested manually using the following code in ratis-common and ratis-example.
   ```java
   public class TestJUnit5TestExecutionListener2 {
     @Timeout(value = 1)
     @Test
     public void testNoTimeout() throws Exception {
     }
   
     @Timeout(value = 1, unit = TimeUnit.MILLISECONDS)
     @Test
     public void testTimeout() throws Exception {
       Thread.sleep(100);
     }
   }
   ```


-- 
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]

Reply via email to