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 2f5a9a8c09..dc5fd1d958 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 @@ -306,8 +306,6 @@ public class TestListFile { runner.assertAllFlowFilesTransferred(ListFile.REL_SUCCESS); final List successFiles2 = runner.getFlowFilesForRelationship(ListFile.REL_SUCCESS); assertEquals(2, successFiles2.size()); - assertEquals(file2.getName(), successFiles2.get(0).getAttribute("filename")); - assertEquals(file1.getName(), successFiles2.get(1).getAttribute("filename")); assertVerificationOutcome(Outcome.SUCCESSFUL, "Successfully listed .* Found 3 objects. Of those, 2 match the filter."); // exclude newest @@ -317,8 +315,6 @@ public class TestListFile { runner.assertAllFlowFilesTransferred(ListFile.REL_SUCCESS); final List successFiles3 = runner.getFlowFilesForRelationship(ListFile.REL_SUCCESS); assertEquals(2, successFiles3.size()); - assertEquals(file3.getName(), successFiles3.get(0).getAttribute("filename")); - assertEquals(file2.getName(), successFiles3.get(1).getAttribute("filename")); assertVerificationOutcome(Outcome.SUCCESSFUL, "Successfully listed .* Found 3 objects. Of those, 2 match the filter."); // exclude oldest and newest