pcdshub / lightpath

LCLS Lightpath Module
https://pcdshub.github.io/lightpath
Other
4 stars 9 forks source link

TST: test_app_buttons often freezes/hangs #171

Open ZLLentz opened 1 year ago

ZLLentz commented 1 year ago

Expected Behavior

Tests should pass or fail in a timely and consistent manner

Current Behavior

This particular test seems to hang sometimes and run properly other times

Possible Solution

These are usually really hard to track down

Context

This happens often when running the full environment unit tests in pcds-envs which kills the suite after 10 minutes.

I tried applying pytest-timeout to this test today but it seems unable to interrupt it. I wanted to apply a 20 second timeout so that the pcds-envs full environment unit test could rerun the test quickly if it was hanging as a band-aid measure but it's not working properly.

Your Environment

pcds-5.5.1