Skip to content

capybara's finalization process is not working with test-queue #83

@mtakahashi-mst

Description

@mtakahashi-mst

test-queue exits worker process by calling Kernel#exit!. Kernel#exit! won't call finalization handler of a process registered by Kernel.at_exit.
On the other hand, capybara's finalization process is registered by Kernel.at_exit, so it won't be called when a worker process ends.

How can I finalize Selenium driver?
Should I override TestQueue::Runnder::spawn_workers and change Kernel#exit! to Kernel#exit ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions