| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
) * fix: handled race condition in stateless query integration test The testTableResultJobIdAndQueryId test was failing intermittently on slower networks. The test strictly asserted that Job ID must be null for stateless queries. However, the library correctly falls back to creating a Job ID if the stateless query times out. This change updates the assertion logic to accept either a valid Query ID (stateless success) or a valid Job ID (fallback success). Fixes #4008 * refactor: use XOR assertion for conciseness Applied feedback from code review to use exclusive OR operator for validating JobID/QueryID mutual exclusivity. * fix: apply race condition logic to testStatelessQueries Applied XOR assertion logic to testStatelessQueries. Test was failing on slow networks because they did not account for JOB_CREATION_OPTIONAL falling back to job creation. Fixes #4002 * docs: add comment explaining stateless query fallback behavior * docs: add comment explaining stateless query fallback behavior in testTableResultJobIdAndQueryId()
) * fix: handled race condition in stateless query integration test The testTableResultJobIdAndQueryId test was failing intermittently on slower networks. The test strictly asserted that Job ID must be null for stateless queries. However, the library correctly falls back to creating a Job ID if the stateless query times out. This change updates the assertion logic to accept either a valid Query ID (stateless success) or a valid Job ID (fallback success). Fixes #4008 * refactor: use XOR assertion for conciseness Applied feedback from code review to use exclusive OR operator for validating JobID/QueryID mutual exclusivity. * fix: apply race condition logic to testStatelessQueries Applied XOR assertion logic to testStatelessQueries. Test was failing on slow networks because they did not account for JOB_CREATION_OPTIONAL falling back to job creation. Fixes #4002 * docs: add comment explaining stateless query fallback behavior * docs: add comment explaining stateless query fallback behavior in testTableResultJobIdAndQueryId()
🤖 I have created a release *beep* *boop* --- <details><summary>2.64.2</summary> ## [2.64.2](googleapis/sdk-platform-java@v2.64.1...v2.64.2) (2025-12-10) ### Bug Fixes * add per-service api_version to gapic_metadata ([#3984](googleapis/sdk-platform-java#3984)) ([ba93524](googleapis/sdk-platform-java@ba93524)) ### Dependencies * Upgrade auth to 1.41.0. ([#4008](googleapis/sdk-platform-java#4008)) ([f601805](googleapis/sdk-platform-java@f601805)) * upgrade grpc to 1.76.1 ([#3993](googleapis/sdk-platform-java#3993)) ([75b709f](googleapis/sdk-platform-java@75b709f)) * Upgrade grpc to 1.76.2 ([#4006](googleapis/sdk-platform-java#4006)) ([e4ba36c](googleapis/sdk-platform-java@e4ba36c)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
| Back | FazBrowse Home | New Git URL |
This PR was generated using Autosynth. 🌈
Here's the log from Synthtool: