MikeThomsen commented on a change in pull request #5332:
URL: https://github.com/apache/nifi/pull/5332#discussion_r730264310



##########
File path: 
nifi-commons/nifi-record-path/src/test/java/org/apache/nifi/record/path/TestRecordPath.java
##########
@@ -1820,10 +1817,12 @@ public void testHash() {
         assertEquals("5753a498f025464d72e088a9d5d6e872592d5f91", 
RecordPath.compile("hash(/firstName, 
'SHA-1')").evaluate(record).getSelectedFields().findFirst().get().getValue());
     }
 
-    @Test(expected = RecordPathException.class)
+    @Test
     public void testHashFailure() {
         final Record record = getCaseTestRecord();
-        assertEquals("61409aa1fd47d4a5332de23cbf59a36f", 
RecordPath.compile("hash(/firstName, 
'NOT_A_ALGO')").evaluate(record).getSelectedFields().findFirst().get().getValue());
+        //assertEquals("61409aa1fd47d4a5332de23cbf59a36f", 
RecordPath.compile("hash(/firstName, 
'NOT_A_ALGO')").evaluate(record).getSelectedFields().findFirst().get().getValue());

Review comment:
       I forgot to get rid of it when I removed the `expected` flag from the 
annotation.




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