Skip to content

Commit

Permalink
#8729: pytest xdist multiprocess reset mechanism
Browse files Browse the repository at this point in the history
- use custom pyhook from pytest-xdist to run cleanup after timeout
- add a new process based timeout method to pytest-timeout
- add reset after test fail, use '--metal-timeout' to enable reset mechanism
- use pytest-xdist fixture to determine # of workers through '-n auto'
- expose get_associated_mmio_device to python and only reset opened tt devices on fail
  • Loading branch information
vtangTT committed Jun 26, 2024
1 parent 913d109 commit 79b36a1
Show file tree
Hide file tree
Showing 4 changed files with 307 additions and 196 deletions.
Loading

0 comments on commit 79b36a1

Please sign in to comment.