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/691402 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=73b6cb897ec bfe95e50eee632e 5e6f5b5c29f7c4
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 73b6cb897ecbfe9 5e50eee632e5e6f 5b5c29f7c4
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
Conflicts: post_test_ hook.sh
gate/
NOTE(melwitt): The conflict is due to change 7da012cc975ee8c 04daa0eb9216744 which is not in Train.
I993c9661c3
Change-Id: I204361d6ff7c23 23bc744878d8a9f a2d20a480b1 08d0174b6cd8e34 9ac95b7907)
(cherry picked from commit 7c41365f193fd5b