[ 
https://issues.apache.org/jira/browse/SYNCOPE-460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13855548#comment-13855548
 ] 

Guido Wimmel commented on SYNCOPE-460:
--------------------------------------

I think both problems are connected. The test failure happens because the test 
assumes that after at most 1 second the scheduled Quartz job has started. I 
encountered that failure sporadically as well, but assumed it is because my 
system is too slow anyway (I also saw it once without the patch). If the 
waiting time is increased, the test runs successfully.

Probably the default values for the connection pool parameters don't work too 
well for the unit tests. When I've time, I can investigate a bit more.

> Default datasource uses BasicDataSource
> ---------------------------------------
>
>                 Key: SYNCOPE-460
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-460
>             Project: Syncope
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.1.5
>            Reporter: Oliver Wulff
>            Assignee: Francesco Chicchiriccò
>            Priority: Minor
>             Fix For: 1.1.6, 1.2.0
>
>         Attachments: patch.git, syncope-460_20121220.patch
>
>
> Replace org.springframework.jdbc.datasource.DriverManagerDataSource by 
> org.apache.commons.dbcp.BasicDataSource as recommended by spring:
> http://docs.spring.io/spring/docs/current/spring-framework-reference/html/jdbc.html#jdbc-connections
> Make property "isolationLevelName" configurable in persistence.properties 
> with default ISOLATION_READ_COMMITTED
> See full discussion in dev@ ML: http://markmail.org/message/33aheawb5irzl3xc



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to