You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
I22 connection tests did not fail when they weren't mocking #850
#847 appears to have been caused by #841 not passing mock=True to the DeviceInitializationController, that should have caused a timeout failure when the CI tried to connect to PVs that don't exist on its network, instead the tests passed after a very long time, suggesting that something was timing out but not failing the test, perhaps an exception was being swallowed.
This issue is to investigate and prevent recurrence
Acceptance Criteria
The cause of the non-failure is known
A regression test/tests are in place to prevent recurrence
make_all_devices returns the connected devices and also collects all of the exceptions that were raised.
As discussed, the tests should have accounted for checking the collected exceptions.
Activity
callumforrester commentedon Oct 17, 2024
Tagging @DominicOram and @DiamondJoseph for awareness
DiamondJoseph commentedon Oct 18, 2024
make_all_devices returns the connected devices and also collects all of the exceptions that were raised.
As discussed, the tests should have accounted for checking the collected exceptions.
rtuck99 commentedon Oct 25, 2024
This is fixed in #858