Skip to content

SessionPoolTest.blockAndTimeoutOnPoolExhaustion_withAcquireSessionTimeout is flaky #3251

@olavloite

Description

@olavloite

Flake while multiplexed sessions were enabled

[ERROR] Tests run: 76, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.137 s <<< FAILURE! -- in com.google.cloud.spanner.SessionPoolTest
[ERROR] com.google.cloud.spanner.SessionPoolTest.blockAndTimeoutOnPoolExhaustion_withAcquireSessionTimeout[min sessions = 0] -- Time elapsed: 0.080 s <<< ERROR!
com.google.cloud.spanner.SpannerException: 
RESOURCE_EXHAUSTED: Timed out after waiting 20ms for acquiring session. To mitigate error SessionPoolOptions#setAcquireSessionTimeout(Duration) to set a higher timeout or increase the number of sessions in the session pool.
There are currently 1 sessions checked out:

Metadata

Metadata

Assignees

Labels

type: processA process-related concern. May include testing, release, or the like.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions