From 56c696a9a710ca2b4ab9c89ce1765f5fad419e9c Mon Sep 17 00:00:00 2001 From: Vitaliy Mysak Date: Tue, 16 Jul 2019 22:28:57 +0000 Subject: [PATCH] test/spdkcli: test set_coalescing method Add spdkcli command that will invoke set_coalescing method during vhost test. This is the only usage of set_coalescing in our tests, so it would be nice to at least have an invocation of it. Following commits will add a match-test that will check if set_coalescing worked as expected. This patch is related to trello task: https://trello.com/c/CHOOxcGj/151-spdkcli-extend-test-coverage Change-Id: I15f54d92c4af2cf3f400743425e268b3645a5b3c Signed-off-by: Vitaliy Mysak Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/462859 Tested-by: SPDK CI Jenkins Reviewed-by: Pawel Kaminski Reviewed-by: Jim Harris Reviewed-by: Ben Walker --- test/spdkcli/vhost.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/spdkcli/vhost.sh b/test/spdkcli/vhost.sh index 8a5ad8092..b4884bdcc 100755 --- a/test/spdkcli/vhost.sh +++ b/test/spdkcli/vhost.sh @@ -61,6 +61,7 @@ $spdkcli_job "'vhost/block create vhost_blk1 Nvme0n1p0' 'Nvme0n1p0' True 'vhost/scsi/vhost_scsi2 add_lun 0 Malloc3' 'Malloc3' True 'vhost/scsi/vhost_scsi2 add_lun 1 Nvme0n1p2' 'Nvme0n1p2' True 'vhost/scsi/vhost_scsi2 add_lun 2 Nvme0n1p3' 'Nvme0n1p3' True +'vhost/scsi/vhost_scsi1 set_coalescing 20 1000000' '' True " timing_exit spdkcli_create_vhosts_config