Skip to content

Commit 9c54c1b

Browse files
committed
ci: increase DB backup timeout
1 parent 11f21f5 commit 9c54c1b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ commands:
172172
cargo install --locked --path .
173173
- run:
174174
name: "Run DB backup test"
175-
timeout: 10m # Allow 10 minutes total
175+
timeout: 15m # Allow 15 minutes total
176176
command: |
177177
./.circleci/db_backup_ci.sh # run the db checkpoint test script first, and clean the dev ledgers afterwards
178178
snarkos clean --dev 0

.circleci/db_backup_ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ sleep 15
7777
# Check heights periodically with a timeout
7878
total_wait=0
7979
checkpoint_created=false
80-
while [ $total_wait -lt 600 ]; do # 10 minutes max
80+
while [ $total_wait -lt 900 ]; do # 15 minutes max
8181
# Apply short-circuiting
8282
if [[ $checkpoint_created = true ]] || check_heights "$checkpoint_height"; then
8383
if [[ $checkpoint_created = false ]]; then

0 commit comments

Comments
 (0)