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 authored and TT-billteng committed Jun 28, 2024
1 parent 29efc68 commit d954e76
Show file tree
Hide file tree
Showing 4 changed files with 307 additions and 196 deletions.
Loading

0 comments on commit d954e76

Please sign in to comment.