Method DbTestCase.heavy_init() gets called more than once if we run tests via tox

Bug #1413535 reported by Renat Akhmerov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mistral
Triaged
Medium
Nikolay Makhotkin

Bug Description

For some reason "heavy_init" is called more than once if we run tests using tox. For that reason sometimes we get a DB deadlock (also confirmed for MySql). The assumption is that it happens with transactions that delete all actions and add all actions into DB.

Changed in mistral:
importance: Undecided → Medium
assignee: nobody → Nikolay Makhotkin (nmakhotkin)
milestone: none → kilo-2
Revision history for this message
Dmitri Zimine (i-dz) wrote :

This gist has a stack trace of failures when Mistral tests run with MySQL backend, with and without concurrency.

https://gist.github.com/dzimine/60a81b561826c99eab2f

Changed in mistral:
milestone: kilo-2 → kilo-3
no longer affects: mistral/kilo
no longer affects: mistral/liberty
no longer affects: mistral/mitaka
Dougal Matthews (d0ugal)
Changed in mistral:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.