This adds a regression test in our post test hook. We are not able to
do a similar test in the unit or functional tests because SQLite does
not provide any isolation between transactions on the same database
connection [1] and the bug can only be reproduced with the isolation
that is present when using a real MySQL database.
Reviewed: https:/ /review. opendev. org/688205 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=7c41365f193 fd5b08d0174b6cd 8e349ac95b7907
Committed: https:/
Submitter: Zuul
Branch: master
commit 7c41365f193fd5b 08d0174b6cd8e34 9ac95b7907
Author: melanie witt <email address hidden>
Date: Fri Oct 11 20:58:03 2019 +0000
Add regression test for bug 1824435
This adds a regression test in our post test hook. We are not able to
do a similar test in the unit or functional tests because SQLite does
not provide any isolation between transactions on the same database
connection [1] and the bug can only be reproduced with the isolation
that is present when using a real MySQL database.
Related-Bug: #1824435
[1] https:/ /www.sqlite. org/isolation. html
Change-Id: I204361d6ff7c23 23bc744878d8a9f a2d20a480b1