damccorm opened a new pull request, #41783:
URL: https://github.com/apache/beam/pull/41783

   Note: this PR was auto-generated by tooling. Before moving it out of draft, 
the author has done a full review of the PR, specifically evaluating it on the 
following criteria:
   
   - The PR is an appropriate fix for the issue (e.g. we're not changing a test 
to avoid a bug)
   - The PR is a simple fix to the issue (e.g. we're not adding infra when we 
could just modify a test)
   - The PR is not covering for other problems (e.g. if we're bumping timeouts, 
it is not because we're covering for a performance problem)
     
   Full details of the methodology of generation and review can be found here - 
https://docs.google.com/document/d/14lj7ECVov4T4EdwmIzNlWrRGE3lLDMOwX5xUMGzaLoc/edit?usp=sharing
   
   If you have concerns with the PR or with the underlying methodology used to 
generate this, please comment below - they will be addressed by the author not 
the tooling :)
   
   ## Summary
   
   Fixes container startup timeout failures in `TestJDBCIO_BasicReadWrite` and 
`TestJDBCIO_PostgresReadWrite` in `PostCommit XVR Direct` 
(https://github.com/apache/beam/actions/runs/45762216390).
   
   ## Root Cause
   
   `sdks/go/test/integration/io/xlang/jdbc/jdbc_test.go:67` hardcoded 
`wait.ForSQL(...).WithStartupTimeout(time.Second * 5)` for the unpinned 
`postgres` image (PostgreSQL 19). Under CI CPU contention, PostgreSQL 
initialization (`performing post-bootstrap initialization ... ok`) routinely 
exceeds 5 seconds before accepting SQL connections on port 5432, exhausting all 
5 container startup attempts in `TestJDBCIO_BasicReadWrite` (and the first 3 
attempts in `TestJDBCIO_PostgresReadWrite`).
   
   ## Changes
   
   - `sdks/go/test/integration/io/xlang/jdbc/jdbc_test.go`: Increase 
`WithStartupTimeout` from `time.Second * 5` to `time.Second * 60`.
   
   ### Verification
   - Triggered `beam_PostCommit_XVR_Direct.yml` workflow run on branch: 
[`46453521773`](https://github.com/apache/beam/actions/runs/46453521773)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to