Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase disttxn testcase length #4982

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/disttxn.test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ else
endif

ifeq ($(TEST_TIMEOUT),)
export TEST_TIMEOUT=30m
export TEST_TIMEOUT=20m
endif
20 changes: 10 additions & 10 deletions tests/disttxn.test/runit
Original file line number Diff line number Diff line change
Expand Up @@ -773,7 +773,7 @@ function setup
function basic_test
{
typeset j=0
typeset cnt=${1:-3}
typeset cnt=${1:-1}
while [[ $j -lt $cnt ]]; do
insert_records_basic
delete_records
Expand All @@ -786,7 +786,7 @@ function bulk_test
typeset cnt=${1:-1}
typeset j=0
while [[ $j -lt "$cnt" ]]; do
insert_records_bulk 2000 20
insert_records_bulk 1000 20
delete_records
let j=j+1
done
Expand Down Expand Up @@ -1883,7 +1883,7 @@ function participant_constraint_violation
{
typeset j=0
typeset r=0
while [[ $j -lt 200 ]]; do
while [[ $j -lt 10 ]]; do
startms=$(timems)
echo "begin
insert into t1(a) values($j)
Expand Down Expand Up @@ -1987,7 +1987,7 @@ commit
function coordinator_constraint_violation
{
typeset j=0
while [[ $j -lt 200 ]]; do
while [[ $j -lt 10 ]]; do
startms=$(timems)
echo "begin
insert into t1(a) values($j)
Expand Down Expand Up @@ -2584,7 +2584,7 @@ function non_durable_commit
function non_durable_loop
{
typeset i=0
while [[ "$i" -lt "10" ]]; do
while [[ "$i" -lt "2" ]]; do
let i=i+1
echo "non-durable-loop iteration $i"
non_durable_commit
Expand Down Expand Up @@ -3223,7 +3223,7 @@ function test_update_same_records
function test_compound_distributed_deadlocks
{
typeset cnt=0
while [[ "$cnt" -lt 5 ]]; do
while [[ "$cnt" -lt 2 ]]; do
let cnt=cnt+1
echo "Test distributed-deadlocks compound iteration $cnt"
distributed_deadlocks_compound
Expand All @@ -3244,7 +3244,7 @@ function test_compound_distributed_deadlocks_try1
function test_deadlocks
{
typeset cnt=0
while [[ "$cnt" -lt 10 ]]; do
while [[ "$cnt" -lt 1 ]]; do
let cnt=cnt+1
echo "Test deadlocks iteration $cnt"
random_deadlocks
Expand All @@ -3264,7 +3264,7 @@ function test_verify_retry
function test_verify_participant_constraint_violation
{
typeset cnt=0
while [[ "$cnt" -lt 5 ]]; do
while [[ "$cnt" -lt 2 ]]; do
let cnt=cnt+1
echo "Test participant-constraint-violation-verify-errors iteration $cnt"
random_verify_participant_constraint_violation
Expand All @@ -3274,7 +3274,7 @@ function test_verify_participant_constraint_violation
function test_verify_coordinator_constraint_violation
{
typeset cnt=0
while [[ "$cnt" -lt 5 ]]; do
while [[ "$cnt" -lt 2 ]]; do
let cnt=cnt+1
echo "Test participant-constraint-violation-verify-errors iteration $cnt"
random_verify_coordinator_constraint_violation
Expand All @@ -3296,7 +3296,7 @@ function verify_retry_loop
function simple_test
{
typeset cnt=0
while [[ "$cnt" -lt 3 ]]; do
while [[ "$cnt" -lt 1 ]]; do
let cnt=cnt+1
echo "Test loop iteration $cnt"
bulk_test 1
Expand Down