Arquillian Persistence Extension - Long execution time, is it normal? -
i'm writing tests arquillian persistence layer in app. use persistence extension database populating etc. problem 1 test takes ~15-25 seconds. normal? or doing wrong? i've tried run these tests on local postgres database (~10sec per test), remote postgres database (~15sec per test) , hsqldb @ local container (~15sec per test).
thanks in advance
p.s. when i'm not using "persistence extension" 12 tests takes ~11sec (and that's acceptable), have persist , delete entities code (hard maintain , manage).
i going guess using ape (arquillian persistence extension) v1.0.0a6. if case experiencing result of refactoring done between alpha5 , alpha6 filed following ticket against: https://issues.jboss.org/browse/arq-1440
you try using 1.0.0a5 has different issues might encounter , need work around has 300% better performance alpha6.
Comments
Post a Comment