You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2026/08/06 05:31:00 UTC

[jira] [Created] (KAFKA-20900) docker_sanity_test.py should not ignore "Error" count

Chia-Ping Tsai created KAFKA-20900:
--------------------------------------

             Summary: docker_sanity_test.py should not ignore "Error" count
                 Key: KAFKA-20900
                 URL: https://issues.apache.org/jira/browse/KAFKA-20900
             Project: Kafka
          Issue Type: Bug
            Reporter: Chia-Ping Tsai
            Assignee: Chia-Ping Tsai


The `failure_count` does not account for environment or execution errors. This leads to a misleading console output stating "all tests passed successfully", even when no tests were actually executed
 
{code:py}
    runner = HTMLTestRunner.HTMLTestRunner(
                stream=outfile,
                title=f'Test Report: Apache Kafka {mode.capitalize()} Docker Image',
                description='This demonstrates the report output.'
                )
    result = runner.run(combined_suite)
    return result.failure_count
{code}






--
This message was sent by Atlassian Jira
(v8.20.10#820010)