From 490addef1854981f442fbebbff30ce352925281a Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Wed, 22 Aug 2018 01:09:16 +0300 Subject: [PATCH] mdbx-test: update GC-test script. Change-Id: Id55f69439b0632f5992af99e70eac5ecb6af0dcc --- test/gc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/gc.sh b/test/gc.sh index 71a1a53b..84f31a50 100755 --- a/test/gc.sh +++ b/test/gc.sh @@ -18,13 +18,13 @@ function bits2list { join , "${list[@]}" } -for nops in {1..7}; do +for nops in {7..1}; do for ((wbatch=nops; wbatch > 0; --wbatch)); do for ((bits=2**${#options[@]}; --bits >= 0; )); do echo "=================================== $(date)" rm -f ${TESTDB_PREFIX}* echo --nops=$( rep9 $nops ) --batch.write=$( rep9 $wbatch ) --mode=$(bits2list options $bits) - ./mdbx_test --pathname=${TESTDB_PREFIX} --size=8G --keylen.min=1 --keylen.max=250 --datalen.min=1 --datalen.max=500 \ + ./mdbx_test --pathname=${TESTDB_PREFIX} --pagesize=min --size=8G --keylen.min=1 --keylen.max=250 --datalen.min=1 --datalen.max=1500 \ --nops=$( rep9 $nops ) --batch.write=$( rep9 $wbatch ) --mode=$(bits2list options $bits) \ --keygen.seed=$(date +%N) --hill | bzip2 -c > ${TESTDB_PREFIX}.log.bz2 ./mdbx_chk -nvv ${TESTDB_PREFIX} | tee ${TESTDB_PREFIX}-chk.log