Dale Emery created GEODE-9942:
---------------------------------
Summary: 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
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)