You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/01/11 20:01:00 UTC

[jira] [Updated] (GEODE-9942) Stress test tasks neglect non-public JUnit 5 test classes

     [ https://issues.apache.org/jira/browse/GEODE-9942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated GEODE-9942:
----------------------------------
    Labels: pull-request-available  (was: )

> Stress test tasks neglect non-public JUnit 5 test classes
> ---------------------------------------------------------
>
>                 Key: GEODE-9942
>                 URL: https://issues.apache.org/jira/browse/GEODE-9942
>             Project: Geode
>          Issue Type: Test
>          Components: tests
>    Affects Versions: 1.15.0
>            Reporter: Dale Emery
>            Assignee: Dale Emery
>            Priority: Major
>              Labels: pull-request-available
>
> JUnit 5 test classes need not be public. Indeed, IntelliJ's default inspections discourage making JUnit 5 classes public.
> {{StressTestHelper}} uses a {{ClassGraph}} to gather information about test classes. By default, {{ClassGraph}} scans only public classes. So by default, {{ClassGraph}} does not gather information about JUnit 5 classes with non-public visibility. As a result, our stress test scripts do not run JUnit 5 tests.
> Solution: Call {{ignoreClassVisibility()}} to configure {{ClassGraph}} to scan all classes, not just public ones.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)