Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
While testing a processor that penalizes a FlowFile, the MockProcessSession#penalize method does not create a new version of that FlowFile. This allows bugs like the following to creep in
session.penalize(original);
session.transfer(original, REL_FAILURE);
// the call to "transfer" fails in production, passes in the test framework