mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 17:34:14 +08:00
mdbx-test: 5-repeats inside gc-test script.
This commit is contained in:
parent
2219802bca
commit
bfa9fc25d6
@ -23,9 +23,9 @@ function probe {
|
|||||||
echo "=============================================== $(date)"
|
echo "=============================================== $(date)"
|
||||||
echo "${caption}: $*"
|
echo "${caption}: $*"
|
||||||
rm -f ${TESTDB_PREFIX}* \
|
rm -f ${TESTDB_PREFIX}* \
|
||||||
&& ./mdbx_test --pathname=${TESTDB_PREFIX}db "$@" | lz4 > ${TESTDB_PREFIX}log.lz4 \
|
&& ./mdbx_test --repeat=12 --pathname=${TESTDB_PREFIX}db "$@" | lz4 > ${TESTDB_PREFIX}log.lz4 \
|
||||||
&& ./mdbx_chk -nvvv ${TESTDB_PREFIX}db | tee ${TESTDB_PREFIX}chk \
|
&& ./mdbx_chk -nvvv ${TESTDB_PREFIX}db | tee ${TESTDB_PREFIX}chk \
|
||||||
&& ./mdbx_chk -nvvv ${TESTDB_PREFIX}db-copy | tee ${TESTDB_PREFIX}chk-copy \
|
&& ([ ! -e ${TESTDB_PREFIX}db-copy ] || ./mdbx_chk -nvvv ${TESTDB_PREFIX}db-copy | tee ${TESTDB_PREFIX}chk-copy) \
|
||||||
|| (echo "FAILED"; exit 1)
|
|| (echo "FAILED"; exit 1)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ function probe {
|
|||||||
count=0
|
count=0
|
||||||
for nops in {2..7}; do
|
for nops in {2..7}; do
|
||||||
for ((wbatch=nops-1; wbatch > 0; --wbatch)); do
|
for ((wbatch=nops-1; wbatch > 0; --wbatch)); do
|
||||||
loops=$(((3333 >> nops) / nops + 1))
|
loops=$(((333 >> nops) / nops + 3))
|
||||||
for ((rep=0; rep++ < loops; )); do
|
for ((rep=0; rep++ < loops; )); do
|
||||||
for ((bits=2**${#options[@]}; --bits >= 0; )); do
|
for ((bits=2**${#options[@]}; --bits >= 0; )); do
|
||||||
seed=$(date +%N)
|
seed=$(date +%N)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user