slachiewicz opened a new issue, #1420:
URL: https://github.com/apache/maven-assembly-plugin/issues/1420

   The `container-descriptors/custom-containerDescriptorHandler` IT cannot fail 
on its main check. Its `verify.groovy` sets `boolean result = true`, and the 
loop that looks for the lines `file A` and `file B` in 
`assembly/target/assembly-1-bin/file.txt` only ever sets `result = true`. When 
either line is missing, the script prints "should contain lines ... but didn't" 
and still returns `true`.
   
   With the check written as `assert foundA && foundB`, the IT fails on current 
master: the generated `file.txt` does not contain both lines. So either the 
custom container descriptor handler in `handler-def` no longer produces what 
the test expects, or the expectation is out of date.
   
   The script is left unchanged in #1419, which converts the other IT scripts 
to asserts.
   


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