Closed Shimuuar closed 4 years ago
After running tests on master for an hour I wasn't able to identify bug. It neverthless happens on CI https://drone.hxr.dev/hexresearch/hschain/1000/1/3 Maybe problem only happens when running with GHC8.6?
N.B, We don't convert ErrorMisuse to exception which is plain wrong!
Peers must connect:
hschain-tests: SQLite3 returned ErrorMisuse while attempting to perform prepare "BEGIN TRANSACTION": bad parameter or other API misuse
hschain-tests: SQLite3 returned ErrorMisuse while attempting to perform prepare "BEGIN TRANSACTION": bad parameter or other API misuse
OK (0.50s)
I take that back. Problem does reproduce on GHC8.4.4
Hopefully fixed by #598
It looks like that we have API misuse in how we work with SQLite (9/100) runs of tests has this issue. SQLite documentation considers this a rather serious problem:
Part of hunt for #587