An error occurred while fetching this tab.
Fix flake: wait for codeinsights-db.sh to startup in CI
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: mrnugget
More info in ticket: #25285 (closed)
This does two things:
pgx
in dbtesting.TimescaleDB
, but use dbconn
instead, because only that one respects the DB_STARTUP_TIMEOUT
set in go-test.sh
, which is executed in CI.t.Fail
, which marks the test as failed but continues execution, to t.FailNow
, which marks the test as failed and stops execution. That fixes the nil-pointer panic in case the database connection couldn't be established.
Push commits to the source branch or add previously merged commits to review them.