Technology · Culture · Change
Sign inJoin us
TechTrends NowFollow the next shiftTechnology · Culture · Change
← Latest news

From Dev.to

pytest-xdist Tests Pass Serially but Fail in Parallel: One Postgres Database per Worker

If your suite is green with pytest and flaky with pytest -n auto, the workers are almost certainly sharing one database and stepping on each other's rows. The durable fix is to give each xdist worker...

Read the full report at Dev.to ↗