On Tue, Nov 2, 2021 at 12:30 AM Billy Zheng <[email protected]> wrote:
> Hi, after some research, this test failing issue caused by > database_cleaner-sequel gem. > > config here. > https://github.com/zw963/marketbet_crawler/blob/4e3537a267d93c3fc109ccebc119d08571d58d43/test/test_helper.rb > > after change DatabaseCleaner[:sequel].strategy from :transaction into > :truncate, all test case works now. > > I create a new issue there. > https://github.com/DatabaseCleaner/database_cleaner-sequel/issues/23 > > do you think if this is expected behavior? if not, could you please give > some guiding suggestions for that issue? > I apologize, but I don't have time to look at the database_cleaner-sequel implementation. Maybe it uses the current thread in some way when using the transaction approach, and that doesn't work well when using fibers instead of threads for concurrency? Thanks, Jeremy -- 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/CADGZSScJGbcHNGN7s6XHr%2B9oU7pTnBPMxgNhXqm8k%2BW7Ms4Wfg%40mail.gmail.com.
