This is an automated email from the ASF dual-hosted git repository.
pvillard 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 8605d0a29f NIFI-10336 Removed unnecessary lineage check from
TestMonitorActivity
8605d0a29f is described below
commit 8605d0a29f0edc73c9f720965f9849ce831b0454
Author: exceptionfactory <[email protected]>
AuthorDate: Tue Aug 9 16:28:56 2022 -0500
NIFI-10336 Removed unnecessary lineage check from TestMonitorActivity
Signed-off-by: Pierre Villard <[email protected]>
This closes #6285.
---
.../java/org/apache/nifi/processors/standard/TestMonitorActivity.java | 2 --
1 file changed, 2 deletions(-)
diff --git
a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestMonitorActivity.java
b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestMonitorActivity.java
index 606c8d17da..7b71678091 100644
---
a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestMonitorActivity.java
+++
b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestMonitorActivity.java
@@ -287,7 +287,6 @@ public class TestMonitorActivity {
restoredFlowFile.assertAttributeNotEquals(CoreAttributes.UUID.key(),
originalFlowFile.getAttribute(CoreAttributes.UUID.key()));
restoredFlowFile.assertAttributeNotEquals(CoreAttributes.FILENAME.key(),
originalFlowFile.getAttribute(CoreAttributes.FILENAME.key()));
assertNotEquals(restoredFlowFile.getSize(),
originalFlowFile.getSize());
- assertNotEquals(restoredFlowFile.getLineageStartDate(),
originalFlowFile.getLineageStartDate());
runner.clearTransferState();
runner.setProperty(MonitorActivity.CONTINUALLY_SEND_MESSAGES, "true");
@@ -315,7 +314,6 @@ public class TestMonitorActivity {
restoredFlowFile.assertAttributeNotEquals(CoreAttributes.UUID.key(),
originalFlowFile.getAttribute(CoreAttributes.UUID.key()));
restoredFlowFile.assertAttributeNotEquals(CoreAttributes.FILENAME.key(),
originalFlowFile.getAttribute(CoreAttributes.FILENAME.key()));
assertNotEquals(restoredFlowFile.getSize(),
originalFlowFile.getSize());
- assertNotEquals(restoredFlowFile.getLineageStartDate(),
originalFlowFile.getLineageStartDate());
}
@Timeout(5)