mdbx-test: alter min/max for key/data length.

Change-Id: I863145b8567a2e3952826b68c7bef07787081bb6
This commit is contained in:
Leonid Yuriev 2018-08-31 03:05:17 +03:00 committed by Leo Yuriev
parent 289da70a67
commit 0ecc5226d6

View File

@ -23,8 +23,9 @@ for nops in {7..1}; 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} --pagesize=min --size=8G --keylen.min=1 --keylen.max=250 --datalen.min=1 --datalen.max=1500 \
seed=$(date +%N)
echo "./mdbx_test --pathname=${TESTDB_PREFIX} --pagesize=min --size=8G --keylen.min=min --keylen.max=max --datalen.min=min --datalen.max=max --nops=$( rep9 $nops ) --batch.write=$( rep9 $wbatch ) --mode=$(bits2list options $bits) --keygen.seed=${seed} --hill"
./mdbx_test --pathname=${TESTDB_PREFIX} --pagesize=min --size=8G --keylen.min=min --keylen.max=max --datalen.min=min --datalen.max=max \
--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