Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skip unstable tests #250

Merged
merged 1 commit into from
Oct 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions tests/attocube.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,20 @@ def setUp(self):
self._lewis.backdoor_set_on_device('connected', True)
self.ca.assert_that_pv_exists(MOTOR_RBV)

@unittest.skip("Fix in https://github.com/ISISComputingGroup/IBEX/issues/4841")
def test_WHEN_moved_to_position_THEN_position_reached(self):
position_setpoint = 20
self.ca.set_pv_value(MOTOR_PV, position_setpoint)
self.ca.assert_that_pv_value_is_increasing(MOTOR_RBV, 1)
self.ca.assert_that_pv_is_number(MOTOR_RBV, position_setpoint, timeout=20)

@unittest.skip("Fix in https://github.com/ISISComputingGroup/IBEX/issues/4841")
def test_GIVEN_device_not_connected_THEN_pv_in_alarm(self):
self._lewis.backdoor_set_on_device('connected', False)
self.ca.assert_that_pv_alarm_is(MOTOR_PV, ChannelAccess.Alarms.INVALID, timeout=30)
self._lewis.backdoor_set_on_device('connected', True)

@unittest.skip("Fix in https://github.com/ISISComputingGroup/IBEX/issues/4841")
def test_GIVEN_device_not_connected_WHEN_motor_val_set_THEN_pv_returns_to_alarm(self):
self._lewis.backdoor_set_on_device('connected', False)
self.ca.assert_that_pv_alarm_is(MOTOR_PV, ChannelAccess.Alarms.INVALID, timeout=10)
Expand Down
1 change: 1 addition & 0 deletions tests/nimrod_jaws_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def get_num_of_jaws(self):
(70, 40, [60.2, 57.7, 51.6, 46.5, 43.7, 40]),
(130, 5, [89, 78.8, 53.4, 31.9, 20.6, 5]),
]))
@unittest.skip("Fix in https://github.com/ISISComputingGroup/IBEX/issues/4841")
def test_WHEN_sample_gap_set_THEN_other_jaws_as_expected(self, _, mod_gap, sample_gap, expected):
self.ca.set_pv_value(MOD_GAP.format("V"), mod_gap)
self._test_WHEN_sample_gap_set_THEN_other_jaws_as_expected("V", sample_gap, expected)