Add retry logic and error handling in csit scripts 27/143527/1
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>
Thu, 5 Mar 2026 14:30:12 +0000 (14:30 +0000)
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>
Fri, 6 Mar 2026 15:39:22 +0000 (15:39 +0000)
commit5b98780b3aa63fd735c81a1528172f707f679342
treed5b38bae80e1e3b82ab56c392a88c44a9007dc2d
parent8ec5179377e5e040309cc0543e4137726c8bc930
Add retry logic and error handling in csit scripts

Db-migrator exits with error sometimes due to Postgres database being
restarted during initialization.
docker compose return code is captured to exit the flow before starting the
tests.

Issue-ID: POLICY-5557
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
Change-Id: I8ab831a69f4abea3b59045f06a71affcbaf15a2e
compose/config/db-migrator/init_pg.sh
compose/start-compose.sh
csit/run-project-csit.sh