pcdshub / pcdsdaq

Utilities for using the DAQ's pydaq, pycdb, and pyami libraries in conjunction with Bluesky
https://pcdshub.github.io/pcdsdaq
Other
0 stars 9 forks source link

Intermittent test failure from pcds-envs #113

Open ZLLentz opened 2 years ago

ZLLentz commented 2 years ago

Expected Behavior

Tests should always pass!

Current Behavior

See https://github.com/pcdshub/pcds-envs/issues/253

``` _______________________________ test_basic_plans _______________________________ daq = RE = @pytest.mark.timeout(10) def test_basic_plans(daq, RE): logger.debug('test_basic_plans') daq.configure(events=12) start = time.time() RE(stage_wrapper(run_wrapper(trigger_and_read([daq])), [daq])) dt = time.time() - start > assert 0.1 < dt < 0.2 E assert 0.20763921737670898 < 0.2 tests/test_daq.py:330: AssertionError ```

Possible Solution

Steps to Reproduce (for bugs)

  1. Run the test suite on a slow server

Context

Probably low priority. This adds some noise to the pcds-envs unit testing suite.

Your Environment

pcds-5.5.0