Aurélien Pupier created CAMEL-23856:
---------------------------------------
Summary: 2 docling integration tests are failing
MetadataExtractionIT and OcrExtractionIT
Key: CAMEL-23856
URL: https://issues.apache.org/jira/browse/CAMEL-23856
Project: Camel
Issue Type: Test
Components: camel-docling
Affects Versions: 4.20.0
Reporter: Aurélien Pupier
{noformat}
[�[1;31mERROR�[m] �[1;31mTests �[0;1mrun: �[0;1m10�[m, �[1;31mFailures:
�[0;1;31m1�[m, Errors: 0, Skipped: 0, Time elapsed: 50.02 s�[1;31m <<<
FAILURE!�[m -- in
org.apache.camel.component.docling.integration.�[1mMetadataExtractionIT�[m
[�[1;31mERROR�[m]
org.apache.camel.component.docling.integration.MetadataExtractionIT.testMetadataExtractionFromPdf
-- Time elapsed: 6.067 s <<< FAILURE!
org.opentest4j.AssertionFailedError:
expected: "The Evolution of the Word Processor"
but was: null
at
org.apache.camel.component.docling.integration.MetadataExtractionIT.testMetadataExtractionFromPdf(MetadataExtractionIT.java:74)
[�[1;34mINFO�[m] Running
org.apache.camel.component.docling.integration.�[1mOcrExtractionIT�[m
[�[1;31mERROR�[m] �[1;31mTests �[0;1mrun: �[0;1m6�[m, �[1;31mFailures:
�[0;1;31m1�[m, Errors: 0, Skipped: 0, Time elapsed: 34.72 s�[1;31m <<<
FAILURE!�[m -- in
org.apache.camel.component.docling.integration.�[1mOcrExtractionIT�[m
[�[1;31mERROR�[m]
org.apache.camel.component.docling.integration.OcrExtractionIT.testOcrWithMultipleTextBlocks
-- Time elapsed: 6.071 s <<< FAILURE!
org.opentest4j.AssertionFailedError:
Footer text is page furniture and is excluded from the docling body export.
Got: ## Document Title
This is the first paragraph with multiple lines of text
Second paragraph starts here containing more information
Footer:ApacheCamel Docling Component ==> expected: <false> but was: <true>
at org.junit.jupiter.api.Assertions.assertFalse(Assertions.java:266)
at
org.apache.camel.component.docling.integration.OcrExtractionIT.testOcrWithMultipleTextBlocks(OcrExtractionIT.java:189)
{noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)