From 32e5d08393ac9d3d7b2ab3399bc6d68a3207dea0 Mon Sep 17 00:00:00 2001 From: Darek Stojaczyk Date: Thu, 1 Aug 2019 06:27:15 +0200 Subject: [PATCH] autotest: move compress test to the end Currently the compression tests are run at the very beginning of autotest. If someone makes any change that breaks a generic SPDK component like RPC, he'll find errors in that compression tests and may have to wonder how he broke them without touching any compress code. To simplify root-causing and debugging, we want to start with the most basic tests like env.sh, rpc_client.sh, and blockdev.sh, so move the compress tests to the end. Change-Id: If6b33d6e24841379ccd8ff6489c38a4081381ce9 Signed-off-by: Darek Stojaczyk Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/463850 Tested-by: SPDK CI Jenkins Reviewed-by: Ben Walker Reviewed-by: Shuhei Matsumoto --- autotest.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/autotest.sh b/autotest.sh index 7ce4736f66..56c5c2a4ad 100755 --- a/autotest.sh +++ b/autotest.sh @@ -148,10 +148,6 @@ fi if [ $SPDK_RUN_FUNCTIONAL_TEST -eq 1 ]; then timing_enter lib - if [ $SPDK_TEST_REDUCE -eq 1 ]; then - run_test suite ./test/compress/compress.sh - fi - run_test suite test/env/env.sh run_test suite test/rpc_client/rpc_client.sh run_test suite ./test/json_config/json_config.sh @@ -256,6 +252,10 @@ if [ $SPDK_RUN_FUNCTIONAL_TEST -eq 1 ]; then if [ $SPDK_TEST_VMD -eq 1 ]; then run_test suite ./test/vmd/vmd.sh fi + + if [ $SPDK_TEST_REDUCE -eq 1 ]; then + run_test suite ./test/compress/compress.sh + fi fi timing_enter cleanup