Spdk/test/lib
Daniel Verkamp 50ff9de715 test/nvme/aer: clean up and simplify AER test
The NVMe AER test tries to submit a large number of Get Features
commands during the test cycle to ensure that admin queue wraparound
works and other commands can be issued while still handling AERs
correctly.  However, it tried to do this by submitting all of the Get
Features commands up front, which runs out of admin queue nvme_request
objects.

Change the test to submit one Get Features command per device and
resubmit it as it completes until the test is over.  This exercises
the queue wraparound case without submitting a large number of requests
at once, and it also simplifies the test code.

Change-Id: I7cf865b6a8d821f62bba3d889cd21fc929a4d484
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-on: https://review.gerrithub.io/366149
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Ziye Yang <optimistyzy@gmail.com>
2017-06-21 14:04:14 -04:00
..
bdev rpc: Add a separate subsystem library 2017-06-16 13:10:26 -04:00
blob io_channel: Add a message passing callback 2017-05-26 13:42:19 -04:00
blobfs event/env: remove dpdk_ prefix 2017-06-16 14:20:26 -04:00
env env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
event event: remove spdk_app_init 2017-06-15 18:26:52 -04:00
ioat env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00
iscsi test, pdu: fix memory leak related issue for pdu test 2017-06-08 17:21:46 -04:00
json test: move JSON library unit tests to test/unit 2017-06-20 13:46:07 -04:00
jsonrpc include: Move the remainder of the code base to stdinc.h 2017-05-08 13:20:36 -07:00
log log: Rename, document the open and close calls 2017-06-16 16:15:06 -04:00
nvme test/nvme/aer: clean up and simplify AER test 2017-06-21 14:04:14 -04:00
nvmf nvmf: stub out Abort command support 2017-06-20 20:03:01 -04:00
Makefile test: move SCSI library unit tests to test/unit 2017-06-20 13:46:07 -04:00
test_env.c env: Rename spdk_malloc/zmalloc/realloc/free to spdk_dma_(func) 2017-05-31 15:30:27 -04:00