Skip to content

device_passthrough: skip gracefully when device_pools not configured#4319

Merged
LiliDeng merged 1 commit intomainfrom
vyadav_march_fix1
Mar 6, 2026
Merged

device_passthrough: skip gracefully when device_pools not configured#4319
LiliDeng merged 1 commit intomainfrom
vyadav_march_fix1

Conversation

@vyadavmsft
Copy link
Collaborator

Replace assert with SkippedException so the test skips cleanly on environments that have no device_pools in the runbook, instead of failing with AssertionError.

Replace assert with SkippedException so the test skips cleanly on
environments that have no device_pools in the runbook, instead of
failing with AssertionError.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates device passthrough functional test behavior to skip cleanly when device_pools isn’t configured in the runbook, instead of failing via AssertionError.

Changes:

  • Replace an assert on device_pools with a conditional that raises SkippedException.
  • Improve compatibility with environments lacking device_pools configuration.

@LiliDeng LiliDeng merged commit 3e53fd3 into main Mar 6, 2026
62 checks passed
@LiliDeng LiliDeng deleted the vyadav_march_fix1 branch March 6, 2026 03:20
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