test: fix test error

This commit is contained in:
ttionya committed 2025-05-04 22:51:35 +08:00
1 parent 63283453fd
commit 1b501698da
2 files changed
+8 -4

No files matched your search

+4
View File
@@ -34,6 +34,10 @@ function test() {
# wait 120s
while [[ "${TIMER}" -lt 120 ]]; do
if [[ $((TIMER % 20)) -eq 0 ]]; then
docker logs "${TEST_CONTAINER_NAME}" | tail -10
fi
if [[ -f "${BACKUP_FILE}" && -s "${BACKUP_FILE}" ]]; then
SUCCESS=TRUE
break