Skip to content

Correctly patch timeout in tests - #903

Merged
DominicOram merged 1 commit into
mainfrom
fix_eiger_timeout
Nov 19, 2024
Merged

DominicOram merged 1 commit into
mainfrom
fix_eiger_timeout

Conversation

@DominicOram

Copy link
Copy Markdown
Contributor

Following #806 we are now incorrectly patching timeouts in the tests, meaning that test_given_in_free_run_mode_and_not_all_frames_collected_in_time_when_unstaged_then_odin_stopped_and_exception_thrown takes ~30s. This fixes the patch.

Instructions to reviewer on how to test:

  1. Confirm test now completes in a sensible time

Checks for reviewer

  • Would the PR title make sense to a scientist on a set of release notes
  • If a new device has been added does it follow the standards
  • If changing the API for a pre-existing device, ensure that any beamlines using this device have updated their Bluesky plans accordingly
  • Have the connection tests for the relevant beamline(s) been run via dodal connect ${BEAMLINE}

@codecov

codecov Bot commented Nov 19, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.78%. Comparing base (82d6afc) to head (24031c9).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #903   +/-   ##
=======================================
  Coverage   95.78%   95.78%           
=======================================
  Files         133      133           
  Lines        5479     5479           
=======================================
  Hits         5248     5248           
  Misses        231      231           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@noemifrisina noemifrisina left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants