Skip to content

Cleanup Thread.sleep in unit tests  #943

Open
@sijie

Description

@sijie

Problem

Currently we are using a lot of Thread.sleep in the unit tests, waiting for some tasks to complete execution. This pattern is very problematic, which it makes the tests unstable and non-deterministic.

Solution

We should try to clean up the usages of Thread.sleep in the unit tests. This is a master ticket for tracking this effort.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions