Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Discovery Impl 1.2.6, Discovery Base 1.1.2, Discovery Commons 1.0.10, Discovery Oak 1.2.6
-
None
Description
As suggested by bdelacretaz on the list we should improve test duration (ideally 1-2min per bundle max, 10-15min overall). While they are not yet improved however, slow tests should be excluded by default and run only if enabled explicitly. Here's an example @Before method to achieve that:
@Before public void checkSlowTests() { assumeNotNull(System.getProperty("sling.slow.tests.enabled")); }
and to enable the slow tests you do: mvn -Dsling.slow.tests.enabled=true clean test
Attachments
Attachments
Issue Links
- is blocked by
-
SLING-5694 introduce 'Slow' category to allow excluding slow running tests
- Closed