Skip to content

Commit 0000409

Browse files
authored
Add more extents for repair tests (#1689)
The repair tests in tools/test_up.sh were not creating enough extents. The replace-reconcile test wants enough extents to repair such that we can start things repairing and then interrupt it before it finishes. Fix for the flake: #1686 Also, the "echo" was out of sync with the actual command we ran, fixed that too.
1 parent e59e3fe commit 0000409

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/test_up.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,8 +390,8 @@ echo "Begin replace reconcile test" >> "${log_prefix}_out.txt"
390390
# region so we have one to use for replacement.
391391
((region_count+=1))
392392
echo "Creating $region_count larger downstairs regions"
393-
echo "${dsc}" create "${dsc_create_args[@]}" --region-count "$region_count" --extent-count 300 --block-size 4096 "${dsc_args[@]}" >> "$dsc_output"
394-
"${dsc}" create "${dsc_create_args[@]}" --region-count "$region_count" --extent-count 100 --block-size 4096 "${dsc_args[@]}" >> "$dsc_output" 2>&1
393+
echo "${dsc}" create "${dsc_create_args[@]}" --region-count "$region_count" --extent-count 400 --block-size 4096 "${dsc_args[@]}" >> "$dsc_output"
394+
"${dsc}" create "${dsc_create_args[@]}" --region-count "$region_count" --extent-count 400 --block-size 4096 "${dsc_args[@]}" >> "$dsc_output" 2>&1
395395

396396
echo "Starting $region_count downstairs"
397397
echo "${dsc}" start --region-count $region_count "${dsc_args[@]}" >> "$dsc_output"

0 commit comments

Comments
 (0)