[
https://issues.apache.org/jira/browse/NUTCH-3144?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18051386#comment-18051386
]
Hudson commented on NUTCH-3144:
-------------------------------
FAILURE: Integrated in Jenkins build Nutch » Nutch-trunk #214 (See
[https://ci-builds.apache.org/job/Nutch/job/Nutch-trunk/214/])
NUTCH-3144 URLUtil unit tests fail after upgrade to crawler-commons 1.6
(snagel:
[https://github.com/apache/nutch/commit/ddabe969426e0822d425986fb9c3b1ef7aa56006])
* (edit) src/java/org/apache/nutch/util/URLUtil.java
* (edit) src/test/org/apache/nutch/util/TestURLUtil.java
> URLUtil unit tests fail after upgrade to crawler-commons 1.6
> ------------------------------------------------------------
>
> Key: NUTCH-3144
> URL: https://issues.apache.org/jira/browse/NUTCH-3144
> Project: Nutch
> Issue Type: Bug
> Components: test
> Affects Versions: 1.22
> Reporter: Sebastian Nagel
> Assignee: Sebastian Nagel
> Priority: Major
> Fix For: 1.22
>
>
> {noformat}
> $> ant test-core -Dtestcase=TestURLUtil
> ...
> [junitlauncher] Running org.apache.nutch.util.TestURLUtil
> [junitlauncher] Tests run: 9, Failures: 2, Aborted: 0, Skipped: 0, Time
> elapsed: 0.535 sec
> BUILD FAILED
> $> grep -A1 FAILED build/test/TEST-org.apache.nutch.util.TestURLUtil.txt
> Test: testGetDomainSuffix() took 405 milli sec(s) FAILED: expected:
> <xn--fl-zia.no> but was: <flå.no>
> org.opentest4j.AssertionFailedError: expected: <xn--fl-zia.no> but was:
> <flå.no>
> --
> Test: testGetTopLevelDomain() took 1 milli sec(s) FAILED: expected:
> <xn--cg4bki> but was: <삼성>
> org.opentest4j.AssertionFailedError: expected: <xn--cg4bki> but was: <삼성>
> {noformat}
> The URLUtil class needs to be adapted to the changes introduced in
> [crawler-commons#478|https://github.com/crawler-commons/crawler-commons/pull/478].
> The issue was not discovered by GitHub workflows because of NUTCH-3143.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)