Description
There is a limitation in the org.apache.commons:commons-compress library which does not allow groupid values larger than 2097151 by default. Some users who have a large groupid value may experience problems building Apache NiFi, particularly the c2 modules.
While this isn't the cause of the problem, the exhibited unit test failure is:
[ERROR] Tests run: 12, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.317 s <<< FAILURE! - in org.apache.nifi.c2.client.service.operation.TransferDebugOperationHandlerTest
[ERROR] org.apache.nifi.c2.client.service.operation.TransferDebugOperationHandlerTest.testContentIsFilteredOut(String, String, String, String)[1] Time elapsed: 0.096 s <<< FAILURE!
Wanted but not invoked:
c2Client.uploadBundle(
<Capturing argument>,
<Capturing argument>
);
-> at org.apache.nifi.c2.client.service.operation.TransferDebugOperationHandlerTest.testContentIsFilteredOut(TransferDebugOperationHandlerTest.java:206)
Actually, there were zero interactions with this mock.
Attachments
Issue Links
- links to