Skip to content

Nondeterministic test failure with AsyncStream + Dispatch interop #21

Open
@jakepetroules

Description

@jakepetroules

Occasionally tests such as linkerSignedBinaryDetection will fail with an error message like:

Caught error: dataStream(reading: DispatchFD(rawValue: 9))#1(): Is a directory (21)

This is due to the file descriptor that is read from in Dispatch+Async.swift becoming invalid, but it's not clear why this happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions