Skip to content

ui_test parallelism does not work as expected #2204

Closed
@RalfJung

Description

@RalfJung

I was wondering why tests seem to execute so sequentially. I think I figured it out: each of our N threads runs while let Some(path) = todo.pop() {; that means if the queue is ever empty when they look at it, the thread terminates and does not come back!

I think we might want to use rayon with its thread pool, rather than trying an ad-hoc implementation of a threadpool ourselves.

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