diff --git a/pkg/datastore/postgres_test.go b/pkg/datastore/postgres_test.go index 317913f..f4a21d2 100644 --- a/pkg/datastore/postgres_test.go +++ b/pkg/datastore/postgres_test.go @@ -795,6 +795,9 @@ func createPostgresConnection() (testcontainers.Container, *sqlx.DB, error) { WithOccurrence(2). WithStartupTimeout(5*time.Second)), ) + if err != nil { + return nil, nil, err + } ip, err := postgres.Host(ctx) if err != nil {