Hi,

I'm currently trying to enable parallel tests in "rodauth-oauth" across all 
tested databases, and I'm having issues particularly with running the tests 
on jruby against a sqlite database.

An example of the problem I'm finding can be seen here: 
https://gitlab.com/honeyryderchuck/rodauth-oauth/-/jobs/709664165 (debug 
log was enabled to better have a look at what is going on).

Of note, I can share the interesting parts of the configuration:

---------------

https://gitlab.com/honeyryderchuck/rodauth-oauth/-/blob/master/test/support/roda_integration.rb#L38-41

I initialize the db in the beginning of the config, and run the migrations 
immediately.

---------------

https://gitlab.com/honeyryderchuck/rodauth-oauth/-/blob/issue-26/test/support/roda_integration.rb#L141-147

This is where a wrap the test around an auto-rollbackable transaction, the 
same way "database-cleaner" or "rodauth" itself sets it up in its tests. 
This is also where the bug happens, when I insert the account. Of 
importance, the error only happens when running the tests in parallel-mode 
(when PARALLEL=1).


I know this is not a small purpose script reproducing the issue, but I'm 
banking on someone having seen and reported that before, and maybe giving 
me hints on how to work around this. This can also be an issue with the 
"jdbc-sqlite-adapter" gem, or with sqlite itself.

If someone has some hint on this, or can give me tips on how to best debug 
this, that'd be very helpful.



-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/73096a8a-f239-46ae-9f12-64abb39937fan%40googlegroups.com.

Reply via email to