You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Dale Emery (Jira)" <ji...@apache.org> on 2022/01/11 17:30:00 UTC
[jira] [Resolved] (GEODE-9924) Make repeat tests log each test class instance separately
[ https://issues.apache.org/jira/browse/GEODE-9924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dale Emery resolved GEODE-9924.
-------------------------------
Resolution: Fixed
> Make repeat tests log each test class instance separately
> ---------------------------------------------------------
>
> Key: GEODE-9924
> URL: https://issues.apache.org/jira/browse/GEODE-9924
> Project: Geode
> Issue Type: Test
> Components: tests
> Reporter: Dale Emery
> Assignee: Dale Emery
> Priority: Major
> Labels: GeodeOperationAPI, pull-request-available
>
> Currently, our repeat test tasks merge the output from all executions of a given test class, making it very difficult to diagnose failures in repeat tests.
> CAUSE:
> In order to run tests repeatedly, our repeat test tasks override Gradle code to allow a test class to execute more than once.
> Gradle directs the output from each test to a log associated with the test class name.
> SOLUTION:
> Change Gradle to distinguish separate executions of a test class, and to log the output from each execution separately. This can be done by using a custom "test result processor" that appends an iteration counter to the end of the test class name before processing the result.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)