From 85bedfac7a01d497269f5ca1f9dbce1dd901d91b Mon Sep 17 00:00:00 2001 From: paul luse Date: Wed, 15 May 2019 16:09:40 -0400 Subject: [PATCH] test: run bdev_raid.sh nightly instead of per patch Existing raid UT already checks the logic in the raid unmap code to intelligently send IOs to member disks. The additional value of bdev_raid.sh is in doing a real data validation on writes as well as confirmation that unmaps really result in 0's following the action. Both of these seem worth keeping however with the UT in place to check the logic they are a better fit for nightly testing. Change-Id: I1a758f4681d77dbddd4185162b0dd1f46525cabd Signed-off-by: paul luse Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/454668 Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Shuhei Matsumoto --- autotest.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/autotest.sh b/autotest.sh index 9309e9a33..36ec50a95 100755 --- a/autotest.sh +++ b/autotest.sh @@ -160,7 +160,9 @@ if [ $SPDK_RUN_FUNCTIONAL_TEST -eq 1 ]; then if [ $SPDK_TEST_BLOCKDEV -eq 1 ]; then run_test suite test/bdev/blockdev.sh - run_test suite test/bdev/bdev_raid.sh + if [[ $RUN_NIGHTLY -eq 1 ]]; then + run_test suite test/bdev/bdev_raid.sh + fi fi if [ $SPDK_TEST_JSON -eq 1 ]; then