Colin McCabe created KAFKA-13409:
------------------------------------

             Summary: JUnit test runs often end with "non-zero exit value 1"
                 Key: KAFKA-13409
                 URL: https://issues.apache.org/jira/browse/KAFKA-13409
             Project: Kafka
          Issue Type: Bug
            Reporter: Colin McCabe
            Assignee: Colin McCabe


JUnit test runs often end with "non-zero exit value 1". Here is an example 
message:
{code}
[2021-10-27T00:04:23.451Z] > Process 'Gradle Test Executor 130' finished with 
non-zero exit value 1
[2021-10-27T00:04:23.451Z]   This problem might be caused by incorrect test 
process configuration.
[2021-10-27T00:04:23.451Z]   Please refer to the test execution section in the 
User Manual at 
https://docs.gradle.org/7.2/userguide/java_testing.html#sec:test_execution
{code}

This ends the whole test run, not just the failing test. We should be more 
aggressive about preventing tests from calling "exit" to avoid this problem.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to