Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Commons Scheduler 2.4.8
-
None
Description
On builds.apache.org the test fails with Java 8 but passes with Java 7. I've verified that the same happens locally, so this is not a flaky test.
Error Message
Expecting regexp match: 'Job : testName2, class: java.lang.Thread, concurrent: true, bundleId: 2, serviceId: 2' / '^Job.*testName3.*'
Stacktrace
java.lang.AssertionError: Expecting regexp match: 'Job : testName2, class: java.lang.Thread, concurrent: true, bundleId: 2, serviceId: 2' / '^Job.*testName3.*' at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.assertTrue(Assert.java:41) at org.apache.sling.commons.scheduler.impl.WebConsolePrinterTest.assertRegexp(WebConsolePrinterTest.java:86) at org.apache.sling.commons.scheduler.impl.WebConsolePrinterTest.testConsolePrinter(WebConsolePrinterTest.java:71)
Standard Error
373 [main] INFO org.apache.sling.commons.threads.impl.DefaultThreadPoolManager - Startet Apache Sling Thread Pool Manager: org.apache.sling.commons.threads.impl.DefaultThreadPoolManager 373 [main] ERROR org.apache.sling.commons.threads.impl.DefaultThreadPoolManager - Configuration admin is not available. 373 [main] INFO org.apache.sling.commons.threads.impl.DefaultThreadPool - Initializing thread pool [testName] ... 373 [main] INFO org.apache.sling.commons.threads.impl.DefaultThreadPool - Thread pool [testName] initialized. 373 [main] INFO org.quartz.core.SchedulerSignalerImpl - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 373 [main] INFO org.quartz.core.QuartzScheduler - Quartz Scheduler v.2.2.1 created. 373 [main] INFO org.quartz.simpl.RAMJobStore - RAMJobStore initialized. 373 [main] INFO org.quartz.core.QuartzScheduler - Scheduler meta-data: Quartz Scheduler (v2.2.1) 'ApacheSling' with instanceId 'Mon_Jun_22_08:44:40_UTC_2015' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.apache.sling.commons.scheduler.impl.QuartzScheduler$QuartzThreadPool' - with 5 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered. 374 [main] INFO org.quartz.impl.DirectSchedulerFactory - Quartz scheduler 'ApacheSling 374 [main] INFO org.quartz.impl.DirectSchedulerFactory - Quartz scheduler version: 2.2.1 374 [main] INFO org.quartz.core.QuartzScheduler - Scheduler ApacheSling_$_Mon_Jun_22_08:44:40_UTC_2015 started. 378 [main] INFO org.quartz.core.QuartzScheduler - Scheduler ApacheSling_$_Mon_Jun_22_08:44:40_UTC_2015 shutting down. 378 [main] INFO org.quartz.core.QuartzScheduler - Scheduler ApacheSling_$_Mon_Jun_22_08:44:40_UTC_2015 paused. 378 [main] INFO org.quartz.core.QuartzScheduler - Scheduler ApacheSling_$_Mon_Jun_22_08:44:40_UTC_2015 shutdown complete. 378 [main] INFO org.apache.sling.commons.threads.impl.DefaultThreadPool - Shutting down thread pool [testName] ... 378 [main] INFO org.apache.sling.commons.threads.impl.DefaultThreadPool - Thread pool [testName] is shut down.
Attachments
Attachments
Issue Links
- relates to
-
SLING-4735 New tests for commons.scheduler module
- Resolved