mmiklavc commented on a change in pull request #1554: METRON-2307: Migrate to 
JUnit5
URL: https://github.com/apache/metron/pull/1554#discussion_r348189008
 
 

 ##########
 File path: 
metron-platform/metron-indexing/metron-indexing-common/src/test/java/org/apache/metron/indexing/dao/metaalert/MetaAlertIntegrationTest.java
 ##########
 @@ -572,9 +549,9 @@ public void 
addRemoveAlertsShouldThrowExceptionForInactiveMetaAlert() throws Exc
       try {
         metaDao.addAlertsToMetaAlert("meta_alert",
             Collections.singletonList(new GetRequest("message_1", 
SENSOR_NAME)));
-        Assert.fail("Adding alerts to an inactive meta alert should throw an 
exception");
+        fail("Adding alerts to an inactive meta alert should throw an 
exception");
 
 Review comment:
   Might be worth using the new idiom for exception testing here.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to