Skip to content

Fix reservation failure tests#25

Open
NirmalaArun wants to merge 1 commit into
nvmecompliance:masterfrom
NirmalaArun:master
Open

Fix reservation failure tests#25
NirmalaArun wants to merge 1 commit into
nvmecompliance:masterfrom
NirmalaArun:master

Conversation

@NirmalaArun

Copy link
Copy Markdown

Fix explanation: #1
Spec:
From NVMe spec (1.1a, 1.2): A host that is a registrant of a namespace may register the same reservation key value multiple times with the namespace on the same or different controllers. It is an error for a host that is already a registrant of a namespace to register with the same namespace using a different registration key value (i.e., the command is aborted with status Reservation Conflict).
Test expectation:
This test expects firmware to abort the command with status “Reservation Conflict” when host tries to register with the same key again.
Change:
RegisterReservation.cpp file is corrected to expect success when the same key is sent.
Fix explanation: #2
GrpReservationHostB tests need to check whether DUT supports multiple ports before starting the test

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.

1 participant