[ https://issues.apache.org/jira/browse/GERONIMO-6805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Francois Papon reassigned GERONIMO-6805: ---------------------------------------- Assignee: Francois Papon > Use a time SPI abstraction to provide time to the transaction manager > --------------------------------------------------------------------- > > Key: GERONIMO-6805 > URL: https://issues.apache.org/jira/browse/GERONIMO-6805 > Project: Geronimo > Issue Type: Improvement > Security Level: public(Regular issues) > Components: transaction manager > Reporter: Florent Guillaume > Assignee: Francois Papon > Priority: Minor > Fix For: TxManager-4.0.1 > > > Currently the {{TransactionImpl}} uses (indirectly) > {{System.currentTimeMillis()}} to decide if a transaction has timed out. > To allow for better unit testing, it would be beneficial to introduce an > abstraction of the time provider so that unit tests can plug custom > time-resolving implementations and avoid {{Thread.sleep().}} -- This message was sent by Atlassian Jira (v8.20.10#820010)