mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2024-11-27 03:48:52 +03:00
a00823544e
SUMMARY The test suite messy and inefficient in every imaginable way. It creates a DB connection pool for every unit test and Postgres failed with the following error: code: "53300", message: "sorry, too many clients already This hotfix runs tests via scripts/tests.sh, which executes one test at a time. Ideally, the connection pool must be shared across the whole test suite but this requires a major refactor of the test suite and even the app code. A refactor towards this is in progress in the `db-abstract` branch, which I hope to complete within this week. fixes #22 |
||
---|---|---|
.. | ||
cachebust.sh | ||
lib.sh | ||
librejs.sh | ||
tests.sh |