/transactions-databases

Concurrency issues with encode/databases

Primary LanguagePythonMIT LicenseMIT

transactions-databases

A demonstration of transaction issues to look out for with encode/databases.

Pre-requisites

Install dependencies and apply database migration:

poetry install
poetry shell
alembic upgrade head

Run

You will have to run each test function in turn and some will need to be manually killed (i.e. with Ctrl+c) because they deadlock.

pytest -k test_function_name tests/