[
https://issues.apache.org/jira/browse/NUTCH-3234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hande Celikkanat updated NUTCH-3234:
------------------------------------
Summary: HtmlUnitProtocolIT.testFetchReturnsContent fails:
getProtocolOutput returns no content (was: Summary:
HtmlUnitProtocolIT.testFetchReturnsContent fails: getProtocolOutput returns no
content)
> HtmlUnitProtocolIT.testFetchReturnsContent fails: getProtocolOutput returns
> no content
> --------------------------------------------------------------------------------------
>
> Key: NUTCH-3234
> URL: https://issues.apache.org/jira/browse/NUTCH-3234
> Project: Nutch
> Issue Type: Bug
> Components: plugin, protocol
> Affects Versions: 1.23
> Reporter: Hande Celikkanat
> Priority: Minor
>
> With the fix from NUTCH-3233, the Testcontainers protocol integration tests
> run, and HtmlUnitProtocolIT.testFetchReturnsContent fails, while testFetch200
> and testFetch404 in the same class pass:
> {noformat}
> Test: testFetchReturnsContent() took 26 milli sec(s) FAILED:
> protocol-htmlunit must return non-null content for a live nginx page ==>
> expected: not <null>
> org.opentest4j.AssertionFailedError: protocol-htmlunit must return non-null
> content for a live nginx page ==> expected: not <null>
> at org.junit.jupiter.api.Assertions.assertNotNull(Assertions.java:345)
> at
> org.apache.nutch.protocol.htmlunit.HtmlUnitProtocolIT.testFetchReturnsContent(HtmlUnitProtocolIT.java:76)
> {noformat}
> To reproduce, with the change from NUTCH-3233 applied and Docker running:
> {noformat}
> ant runtime resolve-test compile-core-test
> ant -lib ivy/ivy-2.6.0.jar -f src/plugin/protocol-htmlunit/build.xml
> test-protocol-integration
> {noformat}
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)