Skip to content

Add a test for thread safety with concurrent get_available() and done() calls in TrackingTopologicalSorter #856

@LalatenduMohanty

Description

@LalatenduMohanty

We recently added #795 , after merging it I realized that we should add a test around thread safety.

Test thread safety with concurrent get_available() and done() calls in https://github.com/python-wheel-build/fromager/blob/main/tests/test_dependency_graph.py. TrackingTopologicalSorter(graph) should work correctly with multiple threads.

Metadata

Metadata

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