[LNT] r248789 - Fix postgres unit tests by closing db connections.

Tobias Grosser via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 07:22:55 PDT 2015


On 09/29/2015 01:49 PM, Kristof Beyls via llvm-commits wrote:
> Author: kbeyls
> Date: Tue Sep 29 06:49:15 2015
> New Revision: 248789
>
> URL: http://llvm.org/viewvc/llvm-project?rev=248789&view=rev
> Log:
> Fix postgres unit tests by closing db connections.
>
> When running the unit tests on a postgres database, the following error shows:
>
> sqlalchemy.exc.TimeoutError: QueuePool limit of size 5 overflow 10 reached, connection timed out, timeout 30
>
> We've also seen this error from time to time on the instance running at
> llvm.org/perf, and it was unclear what the exact reason was for this.  Now that
> we can run the unit tests on postgres, this shows that not closing the db
> connection at the end of a request is at least one of the reasons this error
> can be produced.

Nice!

Tobias


More information about the llvm-commits mailing list