Skip to content

Fix tests that need 32 DIO lines incorrectly using device with less than 32 DIO lines - #999

Merged
EnYi-ni merged 3 commits into
ni:masterfrom
EnYi-ni:user/entee/fix-uint32-DO-tests
Aug 4, 2026
Merged

Fix tests that need 32 DIO lines incorrectly using device with less than 32 DIO lines#999
EnYi-ni merged 3 commits into
ni:masterfrom
EnYi-ni:user/entee/fix-uint32-DO-tests

Conversation

@EnYi-ni

@EnYi-ni EnYi-ni commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator
  • This contribution adheres to CONTRIBUTING.md.

  • [ ] I've updated CHANGELOG.md if applicable.

  • [ ] I've added tests applicable for this pull request

What does this Pull Request accomplish?

Add a fixture for DO to use only X series device with >= 32 DIO lines
Update the currently failing tests that need 32 lines to use the above fixture.

Why should this Pull Request be merged?

AB#3978397

To handle testing in a setup where there is a X series device with < 32 DIO lines.

What testing has been done?

Tested on a controller setup with PXIe-6375 and PXIe-6363. Place PXIe-6375 in a slot ahead of PXIe-6363. This is so that PXIe-6375 is chosen as the first possible X series device if there is no requirement of 32 DIO lines. No failure is observed when running pytest.

Tested on a controller with PXIe-6363 only. No failure is observed when running pytest.

@zhindes

zhindes commented Aug 3, 2026

Copy link
Copy Markdown
Collaborator

@EnYi-ni - the build failure looked unrelated... clicked re-run

@EnYi-ni
EnYi-ni merged commit 96dfe7e into ni:master Aug 4, 2026
39 of 42 checks passed
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