Skip to content

Fix race - #6

Open
Tom-Willemsen wants to merge 1 commit into
mainfrom
fix_race
Open

Fix race#6
Tom-Willemsen wants to merge 1 commit into
mainfrom
fix_race

Conversation

@Tom-Willemsen

@Tom-Willemsen Tom-Willemsen commented Aug 11, 2026

Copy link
Copy Markdown
Member

This test was failing due to subtle timing differences on a branch using ISISComputingGroup/lewis#336 .

I don't think this is the fault of the lewis emulator in this case - it is just some marginal race condition that the new asyncio-based code falls on the wrong side of.

The only 'regression' caused by this change is that the test might take up to 2s longer to execute.

To test this:

  • Run python -m pip install git+https://github.com/ISISComputingGroup/lewis@c79836a93d62b93a5a43a3398d664b246e975b31
  • On master, run run_tests.bat - tests.keithley_2290.Keithley2290DeviceTests.test_WHEN_setting_volt_beyond_volt_limit will probably fail
  • On this branch, it should work again

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

Labels

None yet

Projects

Status: Flash Review

Development

Successfully merging this pull request may close these issues.

1 participant