Skip to content

Running with multiple workers can produce Sys_error("Invalid argument") during flushes #124

@shonfeder

Description

@shonfeder

I can reproduce this on my Windows VM by running the the parallel tests. What seems to happen is that some call to flush output raises a Sys_error("Invalid argument"). If I am not mistaken, this can happen either in the worker OR in the scheduler. When it happens in the worker it produces a deadlock, because the worker never returns from the select, and if in the scheduler the test will just fail.

Perhaps this is related to ocaml/ocaml#13586?

The current workaround is to force testo to run without workers by passing -j 0 in test invocations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwindowsHas to do with the Windows platform

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions