Skip to content

Commit

Permalink
turn async back on in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rtjohnso committed Jan 13, 2025
1 parent 708b57a commit 29459e2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ function nightly_functionality_stress_tests() {
local dbname="splinter_test.functionality.db"
echo "$Me: Run ${test_name} with ${n_mills} million rows, on ${ntables} tables, with ${cache_size} GiB cache"
run_with_timing "Functionality Stress test ${test_descr}" \
"$BINDIR"/driver_test splinter_test --functionality ${num_rows} 1000 --max-async-inflight 0 \
"$BINDIR"/driver_test splinter_test --functionality ${num_rows} 1000 \
--num-tables ${ntables} \
--cache-capacity-gib ${cache_size} \
--db-location ${dbname}
Expand All @@ -186,7 +186,7 @@ function nightly_functionality_stress_tests() {
local dbname="splinter_test.functionality.db"
echo "$Me: Run ${test_name} with ${n_mills} million rows, on ${ntables} tables, with ${cache_size} GiB cache"
run_with_timing "Functionality Stress test ${test_descr}" \
"$BINDIR"/driver_test splinter_test --functionality ${num_rows} 1000 --max-async-inflight 0 \
"$BINDIR"/driver_test splinter_test --functionality ${num_rows} 1000 \
--num-tables ${ntables} \
--cache-capacity-gib ${cache_size} \
--db-location ${dbname}
Expand All @@ -202,7 +202,7 @@ function nightly_functionality_stress_tests() {
test_descr="${nrows_h} rows, ${ntables} tables, ${cache_size} MiB cache"
echo "$Me: Run with ${n_mills} million rows, on ${ntables} tables, with default ${cache_size} GiB cache"
run_with_timing "Functionality Stress test ${test_descr}" \
"$BINDIR"/driver_test splinter_test --functionality ${num_rows} 1000 --max-async-inflight 0 \
"$BINDIR"/driver_test splinter_test --functionality ${num_rows} 1000 \
--num-tables ${ntables} \
--cache-capacity-gib ${cache_size} \
--db-location ${dbname}
Expand All @@ -213,7 +213,7 @@ function nightly_functionality_stress_tests() {
test_descr="${nrows_h} rows, ${ntables} tables, ${cache_size} MiB cache"
echo "$Me: Run with ${n_mills} million rows, on ${ntables} tables, with default ${cache_size} GiB cache"
run_with_timing "Functionality Stress test ${test_descr}" \
"$BINDIR"/driver_test splinter_test --functionality ${num_rows} 1000 --max-async-inflight 0 \
"$BINDIR"/driver_test splinter_test --functionality ${num_rows} 1000 \
--num-tables ${ntables} \
--cache-capacity-gib ${cache_size} \
--db-location ${dbname}
Expand All @@ -223,7 +223,7 @@ function nightly_functionality_stress_tests() {
# echo "$Me: Run with ${n_mills} million rows, on ${ntables} tables, with small ${cache_size} MiB cache"
# Commented out, because we run into issue # 322.
# run_with_timing "Functionality Stress test ${test_descr}" \
# "$BINDIR"/driver_test splinter_test --functionality ${num_rows} 1000 --max-async-inflight 0 \
# "$BINDIR"/driver_test splinter_test --functionality ${num_rows} 1000 \
# --num-tables ${ntables} \
# --cache-capacity-mib ${cache_size} \
# --db-location ${dbname}
Expand Down Expand Up @@ -748,21 +748,21 @@ function run_splinter_functionality_tests() {
key_size=8
# shellcheck disable=SC2086
run_with_timing "Functionality test, key size=${key_size} bytes${use_msg}" \
"$BINDIR"/driver_test splinter_test --functionality 1000000 100 --max-async-inflight 0 \
"$BINDIR"/driver_test splinter_test --functionality 1000000 100 \
$Use_shmem \
--key-size ${key_size} --seed "$SEED"
rm db

# shellcheck disable=SC2086
run_with_timing "Functionality test, with default key size${use_msg}" \
"$BINDIR"/driver_test splinter_test --functionality 1000000 100 --max-async-inflight 0 \
"$BINDIR"/driver_test splinter_test --functionality 1000000 100 \
$Use_shmem \
--seed "$SEED"
rm db

# shellcheck disable=SC2086
run_with_timing "Functionality test, default key size, with background threads${use_msg}" \
"$BINDIR"/driver_test splinter_test --functionality 1000000 100 --max-async-inflight 0 \
"$BINDIR"/driver_test splinter_test --functionality 1000000 100 \
$Use_shmem \
--num-normal-bg-threads 4 --num-memtable-bg-threads 2 \
--seed "$SEED"
Expand All @@ -771,7 +771,7 @@ function run_splinter_functionality_tests() {
max_key_size=102
# shellcheck disable=SC2086
run_with_timing "Functionality test, key size=maximum (${max_key_size} bytes)${use_msg}" \
"$BINDIR"/driver_test splinter_test --functionality 1000000 100 --max-async-inflight 0 \
"$BINDIR"/driver_test splinter_test --functionality 1000000 100 \
$Use_shmem \
--key-size ${max_key_size} --seed "$SEED"
rm db
Expand Down

0 comments on commit 29459e2

Please sign in to comment.