Skip to content

Add fiber extension support for transaction strategy - #32

Open
vdombr wants to merge 1 commit into
DatabaseCleaner:mainfrom
vdombr:add-fiber-extension-support
Open

vdombr wants to merge 1 commit into
DatabaseCleaner:mainfrom
vdombr:add-fiber-extension-support

Conversation

@vdombr

@vdombr vdombr commented Oct 16, 2026 •

Copy link
Copy Markdown

Hello!

This is a possible fix for the issue #23. The current implementation of the start/clean methods uses a new fiber, which doesn't work with Sequel's fiber_concurrency extension. With this extension, each fiber uses its own connection, so database modifications made in the spec may not be part of the transaction opened by DatabaseCleaner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant