Loading
test/unit/nvmf: add unit test for multi reservation requests
Add unit tests for multiple reservation requests at the same time. This submits 3 registration requests from different controllers and then asserts they are processed to completion (first subsystem namespace is updated, then poll group state) one-at-a-time. This validates the serialization of reservation requests so that subsystem namespace state is not modified by subsequent requests while the poll groups are reading that state from the previous update. Change-Id: I836633432a86b6adfed20ce11ba62626f7b89f17 Signed-off-by:Joel Cunningham <joel.cunningham@oracle.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26468 Reviewed-by:
Jim Harris <jim.harris@nvidia.com> Reviewed-by:
Changpeng Liu <changpeliu@tencent.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Community-CI: Mellanox Build Bot