test/rocksdb: reduce test time for per-patch tests

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I138362d4ebe157926228384ab032c057c03c822e

Reviewed-on: https://review.gerrithub.io/391891
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Jim Harris 2017-12-14 17:51:55 -07:00
parent a79a69d226
commit 7c2c5b947f

View File

@ -52,9 +52,14 @@ timing_exit mkfs
mkdir $output_dir/rocksdb
RESULTS_DIR=$output_dir/rocksdb
DURATION=30
NUM_KEYS=50000000
CACHE_SIZE=4096
if [ $RUN_NIGHTLY -eq 1 ]; then
DURATION=60
NUM_KEYS=100000000
else
DURATION=20
NUM_KEYS=20000000
fi
cd $RESULTS_DIR