[
https://issues.apache.org/jira/browse/NUTCH-3143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18053193#comment-18053193
]
ASF GitHub Bot commented on NUTCH-3143:
---------------------------------------
lewismc opened a new pull request, #890:
URL: https://github.com/apache/nutch/pull/890
I think I may have cracked why incomplete/malformed reports were being
written... it looks like unit tests were all being run in the same JVM which
would result in various tests running in parallel and results being written in
a flaky nature. I think this PR should resolve the issue.
> GitHub workflow does not run all unit tests
> -------------------------------------------
>
> Key: NUTCH-3143
> URL: https://issues.apache.org/jira/browse/NUTCH-3143
> Project: Nutch
> Issue Type: Bug
> Components: build
> Affects Versions: 1.22
> Reporter: Sebastian Nagel
> Assignee: Lewis John McGibbney
> Priority: Critical
> Fix For: 1.22
>
> Attachments: Screenshot 2026-01-20 at 20.28.01.png
>
>
> The GitHub workflow does not run all unit tests. The number of core unit
> tests differs from run to run:
> - in
> [1|https://github.com/apache/nutch/actions/runs/20325050290/job/58388368667#step:6:6330]:
> {noformat}
> [junitlauncher] Running org.apache.nutch.util.TestGZIPUtils
> [junitlauncher] Tests run: 3, Failures: 0, Aborted: 0, Skipped: 0, Time
> elapsed: 0.15 sec
> [junitlauncher] Running org.apache.nutch.util.TestMimeUtil
> BUILD SUCCESSFUL
> Total time: 11 minutes 6 seconds
> {noformat}
> - in
> [2|https://github.com/apache/nutch/actions/runs/20531278839/job/59020422063?pr=878#step:6:6504]:
> {noformat}
> [junitlauncher] Running org.apache.nutch.util.TestPrefixStringMatcher
> [junitlauncher] Tests run: 1, Failures: 0, Aborted: 0, Skipped: 0, Time
> elapsed: 0.053 sec
> [junitlauncher] Running org.apache.nutch.util.TestStringUtil
> BUILD SUCCESSFUL
> Total time: 13 minutes 4 seconds
> {noformat}
> - in
> [3|https://github.com/apache/nutch/actions/runs/20531278839/job/59020422044?pr=878#step:6:6492]:
> {noformat}
> [junitlauncher] Running org.apache.nutch.service.TestNutchServer
> [junitlauncher] Tests run: 1, Failures: 0, Aborted: 0, Skipped: 0, Time
> elapsed: 0.329 sec
> [junitlauncher] Running org.apache.nutch.tools.TestCommonCrawlDataDumper
> BUILD SUCCESSFUL
> Total time: 13 minutes 19 seconds
> {noformat}
> Not running all tests might cause that issues are not discovered.
> Note: this may be obsoleted by NUTCH-2934.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)