You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ma...@apache.org on 2024/02/09 21:00:27 UTC

(nifi) branch main updated: NIFI-12768 Removed unstable filename assertion in TestListFile (#8383)

This is an automated email from the ASF dual-hosted git repository.

markap14 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new e93fb17b66 NIFI-12768 Removed unstable filename assertion in TestListFile (#8383)
e93fb17b66 is described below

commit e93fb17b66aea4940c076724b9ba8702172847fc
Author: David Handermann <ex...@apache.org>
AuthorDate: Fri Feb 9 15:00:22 2024 -0600

    NIFI-12768 Removed unstable filename assertion in TestListFile (#8383)
---
 .../src/test/java/org/apache/nifi/processors/standard/TestListFile.java  | 1 -
 1 file changed, 1 deletion(-)

diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestListFile.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestListFile.java
index 99b13b1afa..2f5a9a8c09 100644
--- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestListFile.java
+++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestListFile.java
@@ -328,7 +328,6 @@ public class TestListFile {
         runner.assertAllFlowFilesTransferred(ListFile.REL_SUCCESS);
         final List<MockFlowFile> successFiles4 = runner.getFlowFilesForRelationship(ListFile.REL_SUCCESS);
         assertEquals(1, successFiles4.size());
-        assertEquals(file2.getName(), successFiles4.get(0).getAttribute("filename"));
         assertVerificationOutcome(Outcome.SUCCESSFUL, "Successfully listed .* Found 3 objects.  Of those, 1 matches the filter.");
 
     }