Skip to content

Thread#status can return unexpected value "dead" #5377

@mperham

Description

@mperham

This Sidekiq build is failing due to a spec that expects a thread to be dead and therefore Thread#status to return false.

https://travis-ci.org/mperham/sidekiq/jobs/443494780

The Thread#status return values are documented here and "dead" is not one of them:

https://ruby-doc.org/core-2.3.0/Thread.html#method-i-status

I can't reproduce this locally, the specs pass for me on 9.1.6.0, 9.1.17.0, and 9.2.0.0.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions