Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util/log: deflake tests that use SQL connections
The pgwire code uses goroutines whose execution extends past the server's stopper's `Stop()` call. This is arguably a mis-design which needs to be fixed -- but in the meantime the logging package needs to tolerate it. This patch ensures that asynchronous `log` calls can be performed concurrently with a `TestLogScope`'s `Close()` call. Release note: None
- Loading branch information