Skip to content

Conversation

gurasinghMS
Copy link
Contributor

@gurasinghMS gurasinghMS commented Oct 9, 2025

Add a regression test to verify that the driver does not issue additional AERs after restore if something is already pending. Also some minor restructuring of tests.

@gurasinghMS gurasinghMS marked this pull request as ready for review October 15, 2025 23:03
@gurasinghMS gurasinghMS requested a review from a team as a code owner October 15, 2025 23:03
@Copilot Copilot AI review requested due to automatic review settings October 15, 2025 23:03
Copy link
Contributor

@Copilot 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

This PR adds a regression test to verify that duplicate Asynchronous Event Request (AER) commands are not sent to an NVMe controller after servicing with keepalive enabled. The test ensures that when an AER is already pending, the driver doesn't incorrectly send another one.

Key changes:

  • Refactored existing servicing tests to use a common helper function apply_fault_with_keepalive
  • Added a new test servicing_keepalive_verify_no_duplicate_aers that panics if duplicate AER commands are detected during servicing
  • Consolidated duplicate test setup logic into a reusable function

@gurasinghMS gurasinghMS merged commit 37b6799 into microsoft:main Oct 16, 2025
71 of 73 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.

2 participants