google-cloud-go icon indicating copy to clipboard operation
google-cloud-go copied to clipboard

spanner: background goroutines are left running

Open egonelbre opened this issue 1 year ago • 0 comments

Tracking issue for https://github.com/googleapis/google-cloud-go/pull/10095

Currently the session client workers outlive the client, which may cause use of closed or released resources. This often can show up as flaky tests. Quite possibly something like https://github.com/googleapis/google-cloud-go/pull/9758#issuecomment-2091000887

Similarly, the tests should wait for the server completely shutdown, otherwise there's a similar problem.

egonelbre avatar Jun 05 '24 07:06 egonelbre