Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RHBPMS-4729 QuartzSchedulerService increments NEXT_FIRE_TIME by timeC…
…ycle regardless of current time when calling rescheduleJob() (#847)
- Loading branch information
1 parent
5392801
commit 9cc0732
Showing
3 changed files
with
132 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
66 changes: 66 additions & 0 deletions
66
jbpm-test-coverage/src/test/resources/quartz-db-short-misfire.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
#org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore | ||
|
||
|
||
#============================================================================ | ||
# Configure Main Scheduler Properties | ||
#============================================================================ | ||
|
||
org.quartz.scheduler.instanceName = TestScheduler | ||
org.quartz.scheduler.instanceId = instance_one | ||
org.quartz.scheduler.skipUpdateCheck=true | ||
org.quartz.scheduler.idleWaitTime=1000 | ||
#============================================================================ | ||
# Configure ThreadPool | ||
#============================================================================ | ||
|
||
org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool | ||
org.quartz.threadPool.threadCount = 15 | ||
org.quartz.threadPool.threadPriority = 5 | ||
|
||
|
||
#============================================================================ | ||
# Configure JobStore | ||
#============================================================================ | ||
|
||
org.quartz.jobStore.misfireThreshold = 3000 | ||
|
||
org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreCMT | ||
org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate | ||
org.quartz.jobStore.useProperties=false | ||
org.quartz.jobStore.dataSource=myDS | ||
org.quartz.jobStore.nonManagedTXDataSource=notManagedDS | ||
org.quartz.jobStore.tablePrefix=QRTZ_ | ||
org.quartz.jobStore.isClustered=false | ||
|
||
#============================================================================ | ||
# Other Example Delegates | ||
#============================================================================ | ||
#org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.CloudscapeDelegate | ||
#org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.DB2v6Delegate | ||
#org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.DB2v7Delegate | ||
#org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.DriverDelegate | ||
#org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.HSQLDBDelegate | ||
#org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.MSSQLDelegate | ||
#org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.PointbaseDelegate | ||
#org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.PostgreSQLDelegate | ||
#org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate | ||
#org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.WebLogicDelegate | ||
#org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.oracle.OracleDelegate | ||
#org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.oracle.WebLogicOracleDelegate | ||
|
||
#============================================================================ | ||
# Configure Datasources | ||
#============================================================================ | ||
org.quartz.dataSource.myDS.jndiURL=jdbc/jbpm-ds | ||
#this notManagedDS should be same as one defined in TimerBaseTest class | ||
#org.quartz.dataSource.notManagedDS.driver=org.h2.Driver | ||
#org.quartz.dataSource.notManagedDS.URL=jdbc:h2:mem:test;MVCC=true | ||
#org.quartz.dataSource.notManagedDS.user=sa | ||
#org.quartz.dataSource.notManagedDS.password= | ||
#org.quartz.dataSource.notManagedDS.maxConnections=5 | ||
org.quartz.dataSource.notManagedDS.connectionProvider.class=org.jbpm.test.functional.timer.addon.NonTransactionalConnectionProvider | ||
org.quartz.dataSource.notManagedDS.driverClassName=org.h2.Driver | ||
org.quartz.dataSource.notManagedDS.user=sa | ||
org.quartz.dataSource.notManagedDS.password=sasa | ||
org.quartz.dataSource.notManagedDS.url=jdbc:h2:mem:test;MVCC=true | ||
|