From 1f1c8351add4bf76fca6e65fd3b69492dbad5eef Mon Sep 17 00:00:00 2001 From: Sergey Nikolaev Date: Fri, 18 Sep 2026 02:58:11 +0000 Subject: [PATCH] test: stabilize backup restore CLT --- clt_tests/tests/test-backup-restore.rec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/clt_tests/tests/test-backup-restore.rec b/clt_tests/tests/test-backup-restore.rec index 397f9b3..01fb679 100644 --- a/clt_tests/tests/test-backup-restore.rec +++ b/clt_tests/tests/test-backup-restore.rec @@ -111,7 +111,7 @@ Manticore versions: %{DATETIME} [Info] OK %{DATETIME} [Info] rt_without_columnar (rt) [#!/[0-9]{1}\.[0-9]{3}/!#K]... %{DATETIME} [Info] OK -%{DATETIME} [Info] test (rt) [%{NUMBER}B]... +%{DATETIME} [Info] test (rt) [#!/[0-9]+(\.[0-9]+)?[BK]/!#]... %{DATETIME} [Info] OK %{DATETIME} [Info] Unfreezing all tables... @@ -147,9 +147,9 @@ docker ps ––– output ––– CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES ––– input ––– -if timeout 60 sh -c 'while docker ps -a | grep -qE "Up"; do sleep 1; done'; then echo 'successful'; else echo 'not successful'; fi +if timeout 60 sh -c 'while docker ps -a --format "{{.Names}}" | grep -Fxq manticore; do sleep 1; done'; then echo 'removed'; else echo 'not removed'; fi ––– output ––– -successful +removed ––– input ––– docker run -d --name manticore -v /tmp/$BACKUP_NAME:/docker-entrypoint-initdb.d manticoresoftware/manticore:current ––– output –––